summaryrefslogtreecommitdiffstats
path: root/signal-composer/signalcomposer.h
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer/signalcomposer.h')
-rw-r--r--signal-composer/signalcomposer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/signal-composer/signalcomposer.h b/signal-composer/signalcomposer.h
index 13d26c6..382b6e9 100644
--- a/signal-composer/signalcomposer.h
+++ b/signal-composer/signalcomposer.h
@@ -17,14 +17,13 @@
#ifndef SIGNALCOMPOSER_H
#define SIGNALCOMPOSER_H
+#include <memory>
#include <QObject>
#include <QJsonArray>
class MessageEngine;
class Message;
-enum class MessageType;
-
class SignalComposer : public QObject
{
Q_OBJECT
@@ -41,7 +40,7 @@ class SignalComposer : public QObject
void onConnected();
void onDisconnected();
- void onMessageReceived(MessageType, Message*);
+ void onMessageReceived(std::shared_ptr<Message>);
const QStringList events {
"event.vehicle.speed",