diff options
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; |