summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-24 15:44:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-24 15:56:44 (GMT)
commitb63574ca72ccf0ae197f35e2000ad0c6973b2505 (patch)
tree6dd10865fef9c0a89a89403a92153977901c2c09 /Swift/Controllers/NickResolver.h
parent9dccf1e0c86b10d41dd2d5f3bf71faf1bf8d77c8 (diff)
downloadswift-b63574ca72ccf0ae197f35e2000ad0c6973b2505.zip
swift-b63574ca72ccf0ae197f35e2000ad0c6973b2505.tar.bz2
Moving more from Swift to Client.
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_;
- };
-}
-