diff options
Diffstat (limited to 'map/map.h')
-rw-r--r-- | map/map.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -17,6 +17,7 @@ #ifndef MAP_H #define MAP_H +#include <memory> #include <QObject> #include <QJsonArray> #include <QtQml/QQmlContext> @@ -25,8 +26,6 @@ class MessageEngine; class Message; -enum class MessageType; - class Map : public QObject { Q_OBJECT @@ -50,7 +49,7 @@ class Map : public QObject // slots void onConnected(); void onDisconnected(); - void onMessageReceived(MessageType, Message*); + void onMessageReceived(std::shared_ptr<Message>); }; #endif // MAP_H |