diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-11-30 13:53:29 +0100 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-11-30 13:53:29 +0100 |
commit | c0c90a946c0f5a6722f312e7156ba01c9e743d56 (patch) | |
tree | dc984296d4eda579f9632ee032bf1a62266bcc40 /setupeepg.c | |
parent | 16676f55d7aabc55a7b2894dbdf79a462749767f (diff) | |
parent | 250c584c8b52ca6fadc75acc1f8f9e6c2830c014 (diff) | |
download | vdr-plugin-eepg-c0c90a946c0f5a6722f312e7156ba01c9e743d56.tar.gz vdr-plugin-eepg-c0c90a946c0f5a6722f312e7156ba01c9e743d56.tar.bz2 |
Merge branch 'experimental'
Conflicts:
eepg.c
Diffstat (limited to 'setupeepg.c')
-rw-r--r-- | setupeepg.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/setupeepg.c b/setupeepg.c new file mode 100644 index 0000000..c0dff6a --- /dev/null +++ b/setupeepg.c @@ -0,0 +1,37 @@ +/* + * setupeepg.c + * + * Created on: 08.5.2012 + * Author: d.petrovski + */ + +#include <stddef.h> +#include "setupeepg.h" + +// --- cSetupEEPG ------------------------------------------------------- + +cSetupEEPG* cSetupEEPG::_setupEEPG = NULL; + +cSetupEEPG::cSetupEEPG (void) +:ConfDir(NULL) +{ + ConfDir = NULL; + OptPat = 1; + OrderInfo = 1; + RatingInfo = 1; + FixEpg = 0; + DisplayMessage = 1; + ProcessEIT = 0; +#ifdef DEBUG + LogLevel = 0; +#endif +} + +cSetupEEPG* cSetupEEPG::getInstance() +{ + if (!_setupEEPG) + _setupEEPG = new cSetupEEPG(); + + return _setupEEPG; +} + |