diff options
author | thlo <smarttv640@gmail.com> | 2013-02-23 10:31:30 +0100 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-02-23 10:31:30 +0100 |
commit | 65255cd25a87509c0a75c4e09ebd33977e54ed9c (patch) | |
tree | b2d30b11d6cdf7f0a8471da637dfb26b54fe9569 /vdr-smarttvweb/httpresource.h | |
parent | 3b053722baf9e94469e8a602237ce1c2014b32fc (diff) | |
download | vdr-plugin-smarttvweb-65255cd25a87509c0a75c4e09ebd33977e54ed9c.tar.gz vdr-plugin-smarttvweb-65255cd25a87509c0a75c4e09ebd33977e54ed9c.tar.bz2 |
Support for multiple interfaces. Improved Channel Group Separator handling. Updated Web GUI to use the enclosure RSS element. Bugfixes.
Diffstat (limited to 'vdr-smarttvweb/httpresource.h')
-rwxr-xr-x | vdr-smarttvweb/httpresource.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vdr-smarttvweb/httpresource.h b/vdr-smarttvweb/httpresource.h index 81ecb34..8185026 100755 --- a/vdr-smarttvweb/httpresource.h +++ b/vdr-smarttvweb/httpresource.h @@ -74,7 +74,7 @@ class cResumeEntry; class cHttpResource { public: - cHttpResource(int, int, string, int, SmartTvServer*); + cHttpResource(int, int, int, SmartTvServer*); virtual ~cHttpResource(); int handleRead(); @@ -90,7 +90,6 @@ class cHttpResource { SmartTvServer* mFactory; Log* mLog; - string mServerAddr; int mServerPort; int mFd; int mReqId; @@ -147,7 +146,6 @@ class cHttpResource { int sendChannelsXml (struct stat *statbuf); int sendResumeXml (); int sendVdrStatusXml (struct stat *statbuf); - // int sendResumeXml (struct stat *statbuf); int sendEpgXml (struct stat *statbuf); int sendMediaXml (struct stat *statbuf); @@ -170,6 +168,7 @@ class cHttpResource { // Helper Functions const char *getMimeType(const char *name); string getConnStateName(); + string getOwnIp(int fd); void checkRecording(); bool isTimeRequest(struct stat *statbuf); int parseRangeHeaderValue(string); @@ -182,6 +181,6 @@ class cHttpResource { int getQueryAttributeValue(vector<sQueryAVP> *avps, string id, string &val); int openFile(const char *name); - int writeXmlItem(string title, string link, string programme, string desc, string guid, time_t start, int dur, double fps, int is_pes, int is_new); + int writeXmlItem(string title, string link, string programme, string desc, string guid, int no, time_t start, int dur, double fps, int is_pes, int is_new); }; #endif |