summaryrefslogtreecommitdiffstats
path: root/hvac/hvac.h
diff options
context:
space:
mode:
Diffstat (limited to 'hvac/hvac.h')
-rw-r--r--hvac/hvac.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/hvac/hvac.h b/hvac/hvac.h
index 47a9e08..81378e4 100644
--- a/hvac/hvac.h
+++ b/hvac/hvac.h
@@ -17,6 +17,7 @@
#ifndef HVAC_H
#define HVAC_H
+#include <memory>
#include <QObject>
#include <QJsonArray>
#include <QtQml/QQmlContext>
@@ -25,8 +26,6 @@
class MessageEngine;
class Message;
-enum class MessageType;
-
class HVAC : public QObject
{
Q_OBJECT
@@ -62,7 +61,7 @@ class HVAC : public QObject
void set_temp_right_zone(int temp);
// slots
- void onMessageReceived(MessageType, Message*);
+ void onMessageReceived(std::shared_ptr<Message>);
};
#endif // HVAC_H