summaryrefslogtreecommitdiffstats
path: root/map/map.h
diff options
context:
space:
mode:
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;