diff options
author | chriszero <zerov83@gmail.com> | 2015-04-04 15:10:52 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-04 15:10:52 +0200 |
commit | 21ee9e67ff7029c099c9fd772d3dc3e23c955199 (patch) | |
tree | 254ecef54be3682aea55ff747f3d2912e5732faf /PlexServer.h | |
parent | b3a59b06a977129bd773ff46f4fd66e0057fb9cd (diff) | |
download | vdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.gz vdr-plugin-plex-21ee9e67ff7029c099c9fd772d3dc3e23c955199.tar.bz2 |
more skindesigner support
Diffstat (limited to 'PlexServer.h')
-rw-r--r-- | PlexServer.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/PlexServer.h b/PlexServer.h index 3879878..8f1b23a 100644 --- a/PlexServer.h +++ b/PlexServer.h @@ -16,14 +16,12 @@ namespace plexclient { - + class PlexServer { -public: - PlexServer(std::string data, std::string ip); - PlexServer(std::string ip, int port); - PlexServer() {}; + friend class plexgdm; +public: int GetMaster() const { return m_nMaster; } @@ -58,11 +56,18 @@ public: const std::string& GetIpAdress() const { return m_sIpAddress; } - + std::string GetUri(); - + void DiscoverSettings(); +protected: + PlexServer(std::string data, std::string ip); + PlexServer(std::string ip, int port); + PlexServer() {}; + + void ParseData(std::string data, std::string ip); + private: std::string m_sDiscovery; |