diff options
Diffstat (limited to 'radio/radio.h')
-rw-r--r-- | radio/radio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/radio/radio.h b/radio/radio.h index 9e72a5a..77b78d2 100644 --- a/radio/radio.h +++ b/radio/radio.h @@ -17,13 +17,13 @@ #ifndef RADIO_H #define RADIO_H +#include <memory> #include <QObject> #include <QtQml/QQmlContext> class MessageEngine; class Message; -enum class MessageType; class Radio : public QObject { @@ -90,7 +90,7 @@ class Radio : public QObject void updateFrequencyBandParameters(); void onConnected(); void onDisconnected(); - void onMessageReceived(MessageType type, Message *msg); + void onMessageReceived(std::shared_ptr<Message> msg); const QStringList events { "frequency", |