summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-09 13:00:11 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-09 13:00:11 +0200
commitd91b6baad0e8f377254fdc67780602d03e745433 (patch)
tree49bc97aad45a5b64e09453d6ea69fc56b3fd0561 /eepg.c
parentc7f2963f994ef2b2e9862da82a7065a6067dad4f (diff)
downloadvdr-plugin-eepg-d91b6baad0e8f377254fdc67780602d03e745433.tar.gz
vdr-plugin-eepg-d91b6baad0e8f377254fdc67780602d03e745433.tar.bz2
move cSetupEEPG to separate files
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c35
1 files changed, 2 insertions, 33 deletions
diff --git a/eepg.c b/eepg.c
index 22ee520..2ed8f2f 100644
--- a/eepg.c
+++ b/eepg.c
@@ -40,6 +40,7 @@
#include "dish.h"
#include "epghandler.h"
#include "log.h"
+#include "setupeepg.h"
#include <map>
#include <string>
@@ -75,8 +76,6 @@ static const char *DESCRIPTION = trNOOP ("Parses Extended EPG data");
using namespace std;
-// --- cSetupEEPG -------------------------------------------------------
-
const char *optPats[] = {
"%s",
"%s (Option %d)",
@@ -101,38 +100,8 @@ char *cs_hexdump (int m, const uchar * buf, int n)
return (dump);
}
-class cSetupEEPG
-{
-public:
- int OptPat;
- int OrderInfo;
- int RatingInfo;
- int FixEpg;
- int DisplayMessage;
- int ProcessEIT;
-#ifdef DEBUG
- int LogLevel;
-#endif
-
-public:
- cSetupEEPG (void);
-};
-
-cSetupEEPG SetupPE;
+cSetupEEPG SetupPE = *cSetupEEPG::getInstance();
-cSetupEEPG::cSetupEEPG (void)
-{
- OptPat = 1;
- OrderInfo = 1;
- RatingInfo = 1;
- FixEpg = 0;
- DisplayMessage = 1;
- ProcessEIT = 0;
-#ifdef DEBUG
- LogLevel = 0;
-#endif
-
-}
// --- cMenuSetupPremiereEpg ------------------------------------------------------------