diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-03 17:11:45 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-03 17:11:45 (GMT) |
commit | 3dd69f2f852953638b220352b0eeee10464da5d8 (patch) | |
tree | 9edda54359e2624ef8221d8148213e0060811ead /Swiften/Controllers/XMPPRosterController.h | |
parent | bc41379bdb1ea19757914f45743ed97c999ce9e1 (diff) | |
download | swift-3dd69f2f852953638b220352b0eeee10464da5d8.zip swift-3dd69f2f852953638b220352b0eeee10464da5d8.tar.bz2 |
Pull requesting the roster out of the XMPPRosterController constructor.
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_; }; |