diff options
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_; - }; -} - |