summaryrefslogtreecommitdiffstats
path: root/map/map.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-08-01 18:56:33 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-08-02 19:18:36 -0700
commit9cae4551c16d66a2139b50830749bfcc770ed17c (patch)
treed247fc3e4be9dac1b0492fa087536b0fd6ac4d05 /map/map.h
parent9d2600f4b4dcbdd3820910967eb00a9b00cd8a17 (diff)
libqtappfw: bluetooth-map: add support for list_messages + message verbs
Bug-AGL: SPEC-2561 Change-Id: I5c4df78a15cb009a742148a86432729deb434693 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'map/map.h')
-rw-r--r--map/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/map/map.h b/map/map.h
index e712b93..c54a250 100644
--- a/map/map.h
+++ b/map/map.h
@@ -34,9 +34,13 @@ class Map : public QObject
virtual ~Map();
Q_INVOKABLE void compose(QString recipient, QString message);
+ Q_INVOKABLE void message(QString handle);
+ Q_INVOKABLE void listMessages(QString folder = "inbox");
signals:
void notificationEvent(QVariantMap message);
+ void listMessagesResult(QString folder, QVariantMap listing);
+ void messageResult(QString handle, QVariantMap message);
private:
MessageEngine *m_mloop;