blob: b7dc005b129d5ff930bc37e1a1f383618693461c (
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
|
#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 NickResolver {
public:
NickResolver(boost::shared_ptr<XMPPRoster> xmppRoster);
String jidToNick(const JID& jid);
private:
std::map<JID, String> map_;
boost::shared_ptr<XMPPRoster> xmppRoster_;
};
}
#endif
|