diff options
Diffstat (limited to 'src/gui/tray/talkreply.h')
-rw-r--r-- | src/gui/tray/talkreply.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/tray/talkreply.h b/src/gui/tray/talkreply.h new file mode 100644 index 000000000..2b83cbacb --- /dev/null +++ b/src/gui/tray/talkreply.h @@ -0,0 +1,24 @@ +#pragma once + +#include <QtCore> +#include <QPointer> + +namespace OCC { +class AccountState; + +class TalkReply : public QObject +{ + Q_OBJECT + +public: + explicit TalkReply(AccountState *accountState, QObject *parent = nullptr); + + void sendReplyMessage(const QString &conversationToken, const QString &message, const QString &replyTo = {}); + +signals: + void replyMessageSent(const QString &message); + +private: + AccountState *_accountState = nullptr; +}; +} |