summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/NickResolver.h')
-rw-r--r--Swift/Controllers/NickResolver.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/Swift/Controllers/NickResolver.h b/Swift/Controllers/NickResolver.h
deleted file mode 100644
index 7f00acd..0000000
--- a/Swift/Controllers/NickResolver.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2010 Kevin Smith
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#include <map>
-#include <boost/signals.hpp>
-#include <boost/shared_ptr.hpp>
-
-#include "Swiften/Base/String.h"
-#include "Swiften/JID/JID.h"
-#include "Swiften/Elements/VCard.h"
-
-namespace Swift {
- class XMPPRoster;
- class MUCRegistry;
- class VCardManager;
- class NickResolver {
- public:
- NickResolver(const JID& ownJID, XMPPRoster* xmppRoster, VCardManager* vcardManager, MUCRegistry* mucRegistry);
-
- String jidToNick(const JID& jid);
-
- boost::signal<void (const String&)> onOwnNickChanged;
- private:
- void handleVCardReceived(const JID& jid, VCard::ref vCard);
-
- private:
- JID ownJID_;
- String ownNick_;
- XMPPRoster* xmppRoster_;
- MUCRegistry* mucRegistry_;
- VCardManager* vcardManager_;
- };
-}
-