From d6339ad957b31ec4810777ef4c63f6e42a66d2c2 Mon Sep 17 00:00:00 2001 From: chriszero Date: Fri, 27 Feb 2015 17:22:11 +0100 Subject: Optimized plexservice --- Plexservice.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Plexservice.h') diff --git a/Plexservice.h b/Plexservice.h index 4f81caf..d20c5ee 100644 --- a/Plexservice.h +++ b/Plexservice.h @@ -40,7 +40,6 @@ class Plexservice { public: Plexservice(PlexServer *server); - ~Plexservice(); void DisplaySections(); std::shared_ptr GetSection(std::string section, bool putOnStack = true); @@ -58,13 +57,10 @@ public: private: Poco::Mutex m_mutex; - Poco::Net::HTTPClientSession *m_pPlexSession; PlexServer *pServer; std::stack m_vUriStack; - - Poco::Net::HTTPClientSession* GetHttpSession(bool createNew = false); - Poco::Net::HTTPRequest* CreateRequest(std::string path); + std::unique_ptr CreateRequest(std::string path); }; -- cgit v1.2.3