The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IPAddressResolver.h
Go to the documentation of this file.
1 /*
2  * IPAddressResolver.h
3  *
4  * Created on: 9 Feb 2013
5  * Author: Patrick
6  */
7 
8 #ifndef IPADDRESSRESOLVER_H_
9 #define IPADDRESSRESOLVER_H_
10 
11 #include <vector.h>
12 #include <string.h>
13 
14 namespace WinampRemote
15 {
16 namespace Net
17 {
18 
20 {
21 private:
22  std::vector<std::string> m_addresses;
23  std::vector<std::string> m_aliases;
24  std::string m_hostname;
25  std::string m_resolved;
26 public:
27  IPAddressResolver(std::string& const hostname);
28  virtual ~IPAddressResolver();
29 
30  std::vector<std::string> & getAddresses();
31  std::vector<std::string> & getAliases();
32  std::string const & hostname() const;
33  std::string const & resolvedName() const;
34 
35 };
36 
37 } /* namespace Net */
38 } /* namespace WinampRemote */
39 #endif /* IPADDRESSRESOLVER_H_ */