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/stvw_cfg.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/stvw_cfg.h')
-rwxr-xr-x | vdr-smarttvweb/stvw_cfg.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/vdr-smarttvweb/stvw_cfg.h b/vdr-smarttvweb/stvw_cfg.h index 1f124fb..84cbd07 100755 --- a/vdr-smarttvweb/stvw_cfg.h +++ b/vdr-smarttvweb/stvw_cfg.h @@ -1,7 +1,7 @@ /* * stvw_cfg.h: VDR on Smart TV plugin * - * Copyright (C) 2012 T. Lohmar + * Copyright (C) 2012, 2013 T. Lohmar * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -33,16 +33,12 @@ using namespace std; -/* -class cResumes { - public: - cResumes(string t) : mDevice(t) {}; - - vector<cResumeEntry> mResumes; - - string mDevice; +enum eGroupSep { + IGNORE, + EMPTYIGNORE, + EMPTYFOLDERDOWN }; -*/ + class cSmartTvConfig { private: string mConfigDir; @@ -56,13 +52,15 @@ class cSmartTvConfig { unsigned int mHasBitrate; int mLiveChannels; + eGroupSep mGroupSep; + string mServerAddress; + public: cSmartTvConfig(string dir); ~cSmartTvConfig(); void readConfig(); - - // cResumes* readConfig(string); + void printConfig(); string getLogFile() { return mLogFile; }; string getMediaFolder() { return mMediaFolder; }; @@ -70,6 +68,8 @@ class cSmartTvConfig { int getHasMinBufferTime() { return mHasMinBufferTime; }; unsigned int getHasBitrate() {return mHasBitrate; }; int getLiveChannels() {return mLiveChannels; }; + eGroupSep getGroupSep() { return mGroupSep; }; + string getServerAddress() { return mServerAddress; }; }; #endif |