diff options
author | horchi <vdr@jwendel.de> | 2017-03-16 19:00:50 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-16 19:00:50 +0100 |
commit | 6ab5ecddeb666f5a01742ed63f585979096302f5 (patch) | |
tree | 3a3eb19200b3e2dfc98e494dbd1cbca2464352a0 /epg2vdr.h | |
parent | 484b744d47a901e2537edcab5f4b10bbc5e9b22e (diff) | |
download | vdr-plugin-epg2vdr-6ab5ecddeb666f5a01742ed63f585979096302f5.tar.gz vdr-plugin-epg2vdr-6ab5ecddeb666f5a01742ed63f585979096302f5.tar.bz2 |
2017-03-16: version 1.1.48 (horchi)\n - added: Further improvement of extended skins interface\n\n1.1.48
Diffstat (limited to 'epg2vdr.h')
-rw-r--r-- | epg2vdr.h | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -32,9 +32,9 @@ static const char* MAINMENUENTRY = tr("EPG and Timer Service"); // cPluginEPG2VDR //*************************************************************************** -cOsdMenu* newWathsOn(); +// cOsdMenu* newWathsOn(); -class cPluginEPG2VDR : public cPlugin +class cPluginEPG2VDR : public cPlugin { public: @@ -51,7 +51,7 @@ class cPluginEPG2VDR : public cPlugin virtual bool Initialize(void); virtual bool Start(void); virtual cString Active(void); - virtual const char* MainMenuEntry(void) + virtual const char* MainMenuEntry(void) { return Epg2VdrConfig.mainmenuVisible ? MAINMENUENTRY : 0; } virtual cOsdObject* MainMenuAction(void); virtual cMenuSetupPage* SetupMenu(void); @@ -59,20 +59,23 @@ class cPluginEPG2VDR : public cPlugin virtual void Stop(); virtual void DisplayMessage(const char* s); virtual time_t WakeupTime(void); - + protected: - + int initDb(); int exitDb(); int timerService(cEpgTimer_Service_V1* ts); - + int eventService(cEpgEvent_Service_V1* es); + private: - + cDbConnection* connection; cDbTable* timerDb; cDbTable* vdrDb; + cDbTable* useeventsDb; cDbStatement* selectTimers; + cDbStatement* selectEventById; cMutex mutexTimerService; }; |