diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-04-15 09:52:58 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-04-15 09:52:58 +0200 |
commit | aab813ecd75842f49b0330a289a1ebac8845d883 (patch) | |
tree | 8255ac6183ec0549122d60e7daa5ff37e9b216ef /xmltv2vdr.h | |
parent | 8233bd640dca1c2b856039a223a4d4e916a3aaf0 (diff) | |
download | vdr-plugin-xmltv2vdr-aab813ecd75842f49b0330a289a1ebac8845d883.tar.gz vdr-plugin-xmltv2vdr-aab813ecd75842f49b0330a289a1ebac8845d883.tar.bz2 |
Removed upstart option
Some code cleanups
Diffstat (limited to 'xmltv2vdr.h')
-rw-r--r-- | xmltv2vdr.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/xmltv2vdr.h b/xmltv2vdr.h index 0646724..90a2277 100644 --- a/xmltv2vdr.h +++ b/xmltv2vdr.h @@ -93,7 +93,6 @@ class cEPGHandler : public cEpgHandler { private: cPluginXmltv2vdr *baseplugin; - //const char *epgfile; cEPGMappings *maps; cEPGSources *sources; cImport *import; @@ -108,7 +107,10 @@ public: { epall=Value; } - bool Active() { return (db!=NULL); } + bool Active() + { + return (db!=NULL); + } virtual ~cEPGHandler(); virtual bool IgnoreChannel(const cChannel *Channel); virtual bool SetShortText(cEvent *Event, const char *ShortText); @@ -156,7 +158,12 @@ private: char *srcorder; bool epall; bool wakeup; + bool insetup; public: + void SetSetupState(bool Value) + { + insetup=Value; + } void SetEPAll(bool Value) { epall=Value; @@ -178,7 +185,7 @@ public: { epgsources.ReadIn(confdir,epgfile,&epgmappings,&textmappings,srcorder,Reload); } - void Wait4TimerThread(); + void Wait4TimerThreadAndSetup(); bool IsIdle(bool IncludeHandler=true); bool EPGSourceMove(int From, int To); int EPGSourceCount() |