diff options
Diffstat (limited to 'recmanager.h')
-rw-r--r-- | recmanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recmanager.h b/recmanager.h index 53b8146..4fa3a46 100644 --- a/recmanager.h +++ b/recmanager.h @@ -28,7 +28,7 @@ public: bool EpgSearchAvailable(void) {return epgSearchAvailable;}; bool RefreshRemoteTimers(void); bool CheckEventForTimer(const cEvent *event); -#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) +#if VDRVERSNUM >= 20301 const cTimer *GetTimerForEvent(const cEvent *event); #else cTimer *GetTimerForEvent(const cEvent *event); @@ -37,7 +37,7 @@ public: cTimer *createLocalTimer(const cEvent *event, std::string path); cTimer *createRemoteTimer(const cEvent *event, std::string path); void SetTimerPath(cTimer *timer, const cEvent *event, std::string path); -#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) +#if VDRVERSNUM >= 20301 void DeleteTimer(const cTimer *timer); #else void DeleteTimer(cTimer *timer); @@ -46,7 +46,7 @@ public: void DeleteTimer(const cEvent *event); void DeleteLocalTimer(const cEvent *event); void DeleteRemoteTimer(const cEvent *event); -#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) +#if VDRVERSNUM >= 20301 void SaveTimer(const cTimer *timer, cTimer newTimerSettings); #else void SaveTimer(cTimer *timer, cTimer newTimerSettings); @@ -64,7 +64,7 @@ public: void UpdateSearchTimers(void); bool CreateSwitchTimer(const cEvent *event, cSwitchTimer switchTimer); void DeleteSwitchTimer(const cEvent *event); -#if defined (APIVERSNUM) && (APIVERSNUM >= 20301) +#if VDRVERSNUM >= 20301 const cRecording **SearchForRecordings(std::string searchString, int &numResults); #else cRecording **SearchForRecordings(std::string searchString, int &numResults); |