diff --git a/include/transport/rostermanager.h b/include/transport/rostermanager.h index 2e67532afa4549591537648619c93d7b50ccc6ae..64f05fa70f63d9a7b642547f617c952813fed9df 100644 --- a/include/transport/rostermanager.h +++ b/include/transport/rostermanager.h @@ -49,6 +49,7 @@ class AddressedRosterRequest : public Swift::GenericRequest, boost::pool_allocator< std::pair > > BuddiesMap; /// Creates new RosterManager. /// \param user User associated with this RosterManager. /// \param component Transport instance associated with this roster. @@ -80,6 +81,10 @@ class RosterManager { /// \return User User *getUser() { return m_user; } + const BuddiesMap &getBuddies() { + return m_buddies; + } + bool isRemoteRosterSupported() { return m_supportRemoteRoster; } @@ -125,6 +130,7 @@ class RosterManager { Swift::Timer::ref m_RIETimer; std::list m_requests; bool m_supportRemoteRoster; + AddressedRosterRequest::ref m_remoteRosterRequest; }; }