summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-06 22:19:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-06 22:19:32 (GMT)
commitbec14a3e051a97f543175a8bdcc2c1c6fd18ce77 (patch)
treeada04bf48de300d6d2eab04d8165c828a62533eb /Swiften
parentdad0795cd24ab5e0350fc96a4c8c51f97d1ab1dd (diff)
downloadswift-contrib-bec14a3e051a97f543175a8bdcc2c1c6fd18ce77.zip
swift-contrib-bec14a3e051a97f543175a8bdcc2c1c6fd18ce77.tar.bz2
Use EntityCapsProvider in Swiften.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Client/Client.cpp4
-rw-r--r--Swiften/Client/Client.h5
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;