summaryrefslogtreecommitdiffstats
path: root/navigation/navigation.h
diff options
context:
space:
mode:
Diffstat (limited to 'navigation/navigation.h')
-rw-r--r--navigation/navigation.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/navigation/navigation.h b/navigation/navigation.h
index c407d0f..87e5636 100644
--- a/navigation/navigation.h
+++ b/navigation/navigation.h
@@ -17,6 +17,7 @@
#ifndef NAVIGATION_H
#define NAVIGATION_H
+#include <memory>
#include <QObject>
#include <QJsonArray>
#include <QtQml/QQmlListProperty>
@@ -24,8 +25,6 @@
class MessageEngine;
class Message;
-enum class MessageType;
-
class Navigation : public QObject
{
Q_OBJECT
@@ -50,7 +49,7 @@ class Navigation : public QObject
MessageEngine *m_mloop;
// slots
- void onMessageReceived(MessageType, Message*);
+ void onMessageReceived(std::shared_ptr<Message> msg);
void onConnected();
void onDisconnected();