diff options
author | link2xt <link2xt@testrun.org> | 2021-08-15 12:18:52 +0000 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-15 12:18:52 +0000 |
commit | f6f3e9de77e9b67dab7c2869dc94389f0252caa9 (patch) | |
tree | 765741b46bea74af0f4c35e1788d6f721de5983e /context.h | |
parent | 0114c54ff12d7f9cecf4637ba1d43b5e887a736f (diff) | |
download | kdeltachat-f6f3e9de77e9b67dab7c2869dc94389f0252caa9.tar.gz kdeltachat-f6f3e9de77e9b67dab7c2869dc94389f0252caa9.zip |
Add Context::createContact
Diffstat (limited to 'context.h')
-rw-r--r-- | context.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ public: Q_INVOKABLE void markseenMsgs(QVector<uint32_t> msg_ids); Q_INVOKABLE DcMessage *getMessage(uint32_t msgId); Q_INVOKABLE DcContact *getContact(uint32_t contactId); + Q_INVOKABLE uint32_t createContact(QString name, QString addr); Q_INVOKABLE uint32_t sendTextMessage(uint32_t chatId, QString textToSend); Q_INVOKABLE void setDraft(uint32_t chatId, DcMessage *message); Q_INVOKABLE DcMessage *getDraft(uint32_t chatId); |