summaryrefslogtreecommitdiffstats
path: root/weather/weather.h
diff options
context:
space:
mode:
Diffstat (limited to 'weather/weather.h')
-rw-r--r--weather/weather.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/weather/weather.h b/weather/weather.h
index 6d33a15..75054d5 100644
--- a/weather/weather.h
+++ b/weather/weather.h
@@ -17,13 +17,12 @@
#ifndef WEATHER_H
#define WEATHER_H
+#include <memory>
#include <QObject>
class MessageEngine;
class Message;
-enum class MessageType;
-
class Weather : public QObject
{
Q_OBJECT
@@ -48,7 +47,7 @@ class Weather : public QObject
void onConnected();
void onDisconnected();
- void onMessageReceived(MessageType, Message*);
+ void onMessageReceived(std::shared_ptr<Message>);
};
#endif // WEATHER_H