/* * Copyright (c) 2012 Mateusz Piękos * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include #include #include #include #include namespace Swift { class StanzaChannel; class WhiteboardManager { public: WhiteboardManager(WhiteboardWindowFactory* whiteboardWindowFactory, UIEventStream* uiEventStream, StanzaChannel* stanzaChannel); ~WhiteboardManager(); private: void handleUIEvent(boost::shared_ptr event); private: std::map whiteboardWindows_; UIEventStream* uiEventStream_; WhiteboardWindowFactory* whiteboardWindowFactory_; boost::bsignals::scoped_connection uiEventConnection_; StanzaChannel* stanzaChannel_; }; }