diff options
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.h')
| -rw-r--r-- | Swift/Controllers/Chat/ChatController.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatController.h b/Swift/Controllers/Chat/ChatController.h index 66ec37d..6350cbb 100644 --- a/Swift/Controllers/Chat/ChatController.h +++ b/Swift/Controllers/Chat/ChatController.h @@ -31,8 +31,9 @@ namespace Swift { virtual void setOnline(bool online); virtual void handleNewFileTransferController(FileTransferController* ftc); virtual void handleWhiteboardSessionRequest(bool senderIsSelf); virtual void handleWhiteboardStateChange(const ChatWindow::WhiteboardSessionState state); + virtual void handleNewScreenSharingController(ScreenSharingController* ssc); virtual void setContactIsReceivingPresence(bool /*isReceivingPresence*/); protected: void cancelReplaces(); @@ -62,8 +63,12 @@ namespace Swift { void handleWhiteboardSessionAccept(); void handleWhiteboardSessionCancel(); void handleWhiteboardWindowShow(); + void handleScreenSharingAccept(std::string id); + void handleScreenSharingCancel(std::string id); + void handleScreenSharingStop(std::string id); + void handleSettingChanged(const std::string& settingPath); void checkForDisplayingDisplayReceiptsAlert(); private: @@ -82,8 +87,9 @@ namespace Swift { ChatWindow::Tristate contactSupportsReceipts_; bool receivingPresenceFromUs_; bool userWantsReceipts_; std::map<std::string, FileTransferController*> ftControllers; + std::map<std::string, ScreenSharingController*> ssControllers; SettingsProvider* settings_; std::string lastWbID_; }; } |
Swift