summaryrefslogtreecommitdiffstats
path: root/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'map/map.h')
-rw-r--r--map/map.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/map/map.h b/map/map.h
index 97407cc..91af103 100644
--- a/map/map.h
+++ b/map/map.h
@@ -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