diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-10 17:23:57 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-10 17:38:05 (GMT) |
commit | e2f5588d089e4d2148762ea092e032976254a467 (patch) | |
tree | 851946c7a36ffa96e0f3ab54bc72f233f8b2c746 /Swiften/Controllers/XMPPRosterController.h | |
parent | 7214d768dca85a6d43892169d5008898249dce73 (diff) | |
download | swift-contrib-e2f5588d089e4d2148762ea092e032976254a467.zip swift-contrib-e2f5588d089e4d2148762ea092e032976254a467.tar.bz2 |
Moved Swiften/Controllers to Swift/Controllers.
Diffstat (limited to 'Swiften/Controllers/XMPPRosterController.h')
-rw-r--r-- | Swiften/Controllers/XMPPRosterController.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Swiften/Controllers/XMPPRosterController.h b/Swiften/Controllers/XMPPRosterController.h deleted file mode 100644 index 7695ff5..0000000 --- a/Swiften/Controllers/XMPPRosterController.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include "Swiften/JID/JID.h" -#include "Swiften/Base/String.h" -#include "Swiften/Elements/IQ.h" -#include "Swiften/Elements/RosterPayload.h" -#include "Swiften/Queries/IQHandler.h" - -#include <boost/signals.hpp> -#include <boost/shared_ptr.hpp> - -namespace Swift { - class IQRouter; - class XMPPRoster; - - class XMPPRosterController : public IQHandler { - 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_; - }; -} - |