diff options
Diffstat (limited to 'Swiften/Controllers/XMPPRosterController.h')
-rw-r--r-- | Swiften/Controllers/XMPPRosterController.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Controllers/XMPPRosterController.h b/Swiften/Controllers/XMPPRosterController.h index 2eaa6f5..7695ff5 100644 --- a/Swiften/Controllers/XMPPRosterController.h +++ b/Swiften/Controllers/XMPPRosterController.h @@ -17,10 +17,14 @@ namespace Swift { public: XMPPRosterController(IQRouter *iqRouter, boost::shared_ptr<XMPPRoster> xmppRoster); ~XMPPRosterController(); + + void requestRoster(); + boost::shared_ptr<XMPPRoster> getXMPPRoster() {return xmppRoster_;}; bool handleIQ(boost::shared_ptr<IQ>); private: + IQRouter* iqRouter_; void handleRosterReceived(boost::shared_ptr<RosterPayload> rosterPayload); boost::shared_ptr<XMPPRoster> xmppRoster_; }; |