blob: cf6104da85edb9be4fca232072e2a8a8f78dd82f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef SWIFTEN_NickResolver_H
#define SWIFTEN_NickResolver_H
#include <map>
#include <boost/shared_ptr.hpp>
#include "Swiften/Base/String.h"
#include "Swiften/JID/JID.h"
namespace Swift {
class XMPPRoster;
class MUCRegistry;
class NickResolver {
public:
NickResolver(boost::shared_ptr<XMPPRoster> xmppRoster);
String jidToNick(const JID& jid);
void setMUCRegistry(MUCRegistry* registry);
private:
std::map<JID, String> map_;
boost::shared_ptr<XMPPRoster> xmppRoster_;
MUCRegistry* mucRegistry_;
};
}
#endif
|