summaryrefslogtreecommitdiffstats
path: root/pbap/pbap.h
diff options
context:
space:
mode:
Diffstat (limited to 'pbap/pbap.h')
-rw-r--r--pbap/pbap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/pbap/pbap.h b/pbap/pbap.h
index a89bf2b..4deb9c6 100644
--- a/pbap/pbap.h
+++ b/pbap/pbap.h
@@ -17,6 +17,7 @@
#ifndef PBAP_H
#define PBAP_H
+#include <memory>
#include <QObject>
#include <QJsonArray>
#include <QtQml/QQmlContext>
@@ -25,8 +26,6 @@
class MessageEngine;
class Message;
-enum class MessageType;
-
class PhoneNumber : public QObject
{
Q_OBJECT
@@ -169,7 +168,7 @@ class Pbap : public QObject
// slots
void onConnected();
void onDisconnected();
- void onMessageReceived(MessageType, Message*);
+ void onMessageReceived(std::shared_ptr<Message>);
const QStringList events {
"status",