diff options
Diffstat (limited to 'Swiften/Client/Client.h')
-rw-r--r-- | Swiften/Client/Client.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h index 940a526..9253074 100644 --- a/Swiften/Client/Client.h +++ b/Swiften/Client/Client.h @@ -7,6 +7,6 @@ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/Client/CoreClient.h> - #include <Swiften/Base/SafeString.h> @@ -37,4 +37,7 @@ namespace Swift { class JingleSessionManager; class FileTransferManager; + class WhiteboardSessionManager; + class ClientBlockListManager; + class PubSubManager; /** @@ -44,5 +47,5 @@ namespace Swift { * performing most tasks on the XMPP network. */ - class Client : public CoreClient { + class SWIFTEN_API Client : public CoreClient { public: /** @@ -136,4 +139,8 @@ namespace Swift { } + ClientBlockListManager* getClientBlockListManager() const { + return blockListManager; + } + /** * Returns a FileTransferManager for the client. This is only available after the onConnected @@ -152,4 +159,11 @@ namespace Swift { void setAlwaysTrustCertificates(); + WhiteboardSessionManager* getWhiteboardSessionManager() const; + + PubSubManager* getPubSubManager() const { + return pubsubManager; + } + + public: /** @@ -186,4 +200,7 @@ namespace Swift { FileTransferManager* fileTransferManager; BlindCertificateTrustChecker* blindCertificateTrustChecker; + WhiteboardSessionManager* whiteboardSessionManager; + ClientBlockListManager* blockListManager; + PubSubManager* pubsubManager; }; } |