summaryrefslogtreecommitdiff
path: root/recmenus.h
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-03-08 13:30:41 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-01-27 11:30:01 +0100
commitbf2937d86c316edb716c6fe1bdb97e7c706f675c (patch)
treefa8878241e876ee18fe417de51fc26cea1f76f6a /recmenus.h
parent6ae27238afa33e17dece7311c4728b5c1f2f83b2 (diff)
downloadvdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.gz
vdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.bz2
Cosmetic changes / SwitchTimer& operator / std:min,std:max
Diffstat (limited to 'recmenus.h')
-rw-r--r--recmenus.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/recmenus.h b/recmenus.h
index 7031280..d366c29 100644
--- a/recmenus.h
+++ b/recmenus.h
@@ -115,7 +115,7 @@ public:
// --- cRecMenuEditTimer ---------------------------------------------------------
class cRecMenuEditTimer: public cRecMenu {
private:
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
const cTimer *originalTimer;
#else
cTimer *originalTimer;
@@ -128,7 +128,7 @@ private:
int lifetime;
char folder[TEXTINPUTLENGTH];
public:
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
cRecMenuEditTimer(const cTimer *timer, eRecMenuState nextState);
const cTimer *GetOriginalTimer(void);
#else
@@ -157,7 +157,7 @@ class cRecMenuSeriesTimer: public cRecMenu {
int lifetime;
void CalculateTimes(const cEvent *event);
public:
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
cRecMenuSeriesTimer(const cChannel *initialChannel, const cEvent *event, std::string folder);
#else
cRecMenuSeriesTimer(cChannel *initialChannel, const cEvent *event, std::string folder);
@@ -425,14 +425,14 @@ public:
class cRecMenuRecordingSearchResults: public cRecMenu {
private:
std::string searchString;
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
const cRecording **searchResults;
#else
cRecording **searchResults;
#endif
int numResults;
public:
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
cRecMenuRecordingSearchResults(std::string searchString, const cRecording **searchResults, int numResults);
#else
cRecMenuRecordingSearchResults(std::string searchString, cRecording **searchResults, int numResults);
@@ -459,7 +459,7 @@ public:
// --- cRecMenuTimeline ---------------------------------------------------------
class cRecMenuTimeline: public cRecMenu {
private:
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
std::vector<const cTimer*> timersToday;
#else
std::vector<cTimer*> timersToday;
@@ -484,7 +484,7 @@ public:
virtual ~cRecMenuTimeline(void) {
};
eRecMenuState ProcessKey(eKeys Key);
-#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+#if VDRVERSNUM >= 20301
const cTimer *GetTimer(void);
#else
cTimer *GetTimer(void);