diff options
Diffstat (limited to 'Swiften/Client')
-rw-r--r-- | Swiften/Client/Client.cpp | 4 | ||||
-rw-r--r-- | Swiften/Client/Client.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/Client/Client.cpp b/Swiften/Client/Client.cpp index fd01e25..18cff9a 100644 --- a/Swiften/Client/Client.cpp +++ b/Swiften/Client/Client.cpp @@ -112,4 +112,8 @@ PresenceSender* Client::getPresenceSender() const { return discoManager->getPresenceSender(); } +EntityCapsProvider* Client::getEntityCapsProvider() const { + return entityCapsManager; +} + } diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h index a17fe24..a6cf059 100644 --- a/Swiften/Client/Client.h +++ b/Swiften/Client/Client.h @@ -25,6 +25,7 @@ namespace Swift { class AvatarManager; class CapsManager; class EntityCapsManager; + class EntityCapsProvider; class NickResolver; class SubscriptionManager; class ClientDiscoManager; @@ -111,9 +112,7 @@ namespace Swift { return avatarManager; } - EntityCapsManager* getEntityCapsManager() const { - return entityCapsManager; - } + EntityCapsProvider* getEntityCapsProvider() const; NickResolver* getNickResolver() const { return nickResolver; |