summaryrefslogtreecommitdiff
path: root/recmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'recmanager.h')
-rw-r--r--recmanager.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/recmanager.h b/recmanager.h
index 1587db0..a7061a7 100644
--- a/recmanager.h
+++ b/recmanager.h
@@ -28,25 +28,17 @@ public:
bool EpgSearchAvailable(void) {return epgSearchAvailable;};
bool RefreshRemoteTimers(void);
bool CheckEventForTimer(const cEvent *event);
-#if VDRVERSNUM >= 20301
const cTimer *GetTimerForEvent(const cEvent *event);
-#else
- cTimer *GetTimerForEvent(const cEvent *event);
-#endif
cTimer *createTimer(const cEvent *event, std::string path = "");
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);
- void DeleteTimer(cTimer *timer);
+ void DeleteTimer(const cTimer *timer);
void DeleteTimer(int timerID);
void DeleteTimer(const cEvent *event);
void DeleteLocalTimer(const cEvent *event);
void DeleteRemoteTimer(const cEvent *event);
-#if VDRVERSNUM >= 20301
void SaveTimer(const cTimer *timer, cTimer newTimerSettings);
-#else
- void SaveTimer(cTimer *timer, cTimer newTimerSettings);
-#endif
bool IsRecorded(const cEvent *event);
cTVGuideTimerConflicts *CheckTimerConflict(void);
void CreateSeriesTimer(cTimer *seriesTimer);
@@ -60,11 +52,7 @@ public:
void UpdateSearchTimers(void);
bool CreateSwitchTimer(const cEvent *event, cSwitchTimer switchTimer);
void DeleteSwitchTimer(const cEvent *event);
-#if VDRVERSNUM >= 20301
const cRecording **SearchForRecordings(std::string searchString, int &numResults);
-#else
- cRecording **SearchForRecordings(std::string searchString, int &numResults);
-#endif
const cEvent **LoadReruns(const cEvent *event, int &numResults);
void GetFavorites(std::vector<cTVGuideSearchTimer> *favorites);
const cEvent **WhatsOnNow(bool nowOrNext, int &numResults);