diff options
author | dknn <yoann.blein@free.fr> | 2012-08-06 14:40:13 (GMT) |
---|---|---|
committer | dknn <yoann.blein@free.fr> | 2012-09-22 09:32:38 (GMT) |
commit | d62f8088b8cc42417f97a3b5c3f99bf9288593d4 (patch) | |
tree | 46861355d40bfe5e18088496abc9654e0dbaa00c /Swift/QtUI/QtChatWindow.h | |
parent | 343f88e3048887e83cc91bb710510b3aa618f779 (diff) | |
download | swift-contrib-d62f8088b8cc42417f97a3b5c3f99bf9288593d4.zip swift-contrib-d62f8088b8cc42417f97a3b5c3f99bf9288593d4.tar.bz2 |
Add support for multiple sharing and control in chat view
Diffstat (limited to 'Swift/QtUI/QtChatWindow.h')
-rw-r--r-- | Swift/QtUI/QtChatWindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h index 3416b42..d802bf9 100644 --- a/Swift/QtUI/QtChatWindow.h +++ b/Swift/QtUI/QtChatWindow.h @@ -80,6 +80,9 @@ namespace Swift { static const QString ButtonFileTransferSetDescription; static const QString ButtonFileTransferSendRequest; static const QString ButtonFileTransferAcceptRequest; + static const QString ButtonScreenSharingCancel; + static const QString ButtonScreenSharingStop; + static const QString ButtonScreenSharingAcceptRequest; static const QString ButtonMUCInvite; public: @@ -96,6 +99,10 @@ namespace Swift { std::string addFileTransfer(const std::string& senderName, bool senderIsSelf, const std::string& filename, const boost::uintmax_t sizeInBytes); void setFileTransferProgress(std::string id, const int percentageDone); void setFileTransferStatus(std::string id, const FileTransferState state, const std::string& msg); + + // Screen sharing related stuff + virtual std::string addScreenSharing(const std::string& senderName, bool incoming); + virtual void setScreenSharingStatus(std::string id, const ScreenSharing::SCState state, const std::string& msg = ""); std::string addWhiteboardRequest(bool senderIsSelf); void setWhiteboardSessionStatus(std::string id, const ChatWindow::WhiteboardSessionState state); |