summaryrefslogtreecommitdiff
path: root/recmenus.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-12-29 18:13:45 +0100
committerlouis <louis.braun@gmx.de>2013-12-29 18:13:45 +0100
commiteede61ade5b226480ebbe1e29235df58170a24bd (patch)
tree72098ad56f9d6902eeee75bc5fb4d5d02eb84340 /recmenus.h
parent06ed8b3567bee43f47659b17baf084fed352ddb4 (diff)
downloadvdr-plugin-tvguide-eede61ade5b226480ebbe1e29235df58170a24bd.tar.gz
vdr-plugin-tvguide-eede61ade5b226480ebbe1e29235df58170a24bd.tar.bz2
Added possibility to search for reruns in case of a timer conflict
Diffstat (limited to 'recmenus.h')
-rw-r--r--recmenus.h36
1 files changed, 31 insertions, 5 deletions
diff --git a/recmenus.h b/recmenus.h
index def944d..5b7c485 100644
--- a/recmenus.h
+++ b/recmenus.h
@@ -51,16 +51,16 @@ public:
// --- cRecMenuTimerConflicts ---------------------------------------------------------
class cRecMenuTimerConflicts: public cRecMenu {
public:
- cRecMenuTimerConflicts(std::vector<TVGuideTimerConflict> conflicts);
+ cRecMenuTimerConflicts(cTVGuideTimerConflicts *conflicts);
virtual ~cRecMenuTimerConflicts(void) {};
};
// --- cRecMenuTimerConflict ---------------------------------------------------------
class cRecMenuTimerConflict: public cRecMenu {
private:
- TVGuideTimerConflict conflict;
+ cTVGuideTimerConflict *conflict;
public:
- cRecMenuTimerConflict(TVGuideTimerConflict conflict);
+ cRecMenuTimerConflict(cTVGuideTimerConflict *conflict);
cRecMenuItem *GetMenuItem(int number);
int GetTotalNumMenuItems(void);
virtual ~cRecMenuTimerConflict(void) {};
@@ -73,6 +73,34 @@ public:
virtual ~cRecMenuNoTimerConflict(void) {};
};
+// --- cRecMenuRerunResults ---------------------------------------------------------
+class cRecMenuRerunResults: public cRecMenu {
+private:
+ const cEvent **reruns;
+ int numReruns;
+public:
+ cRecMenuRerunResults(const cEvent *original, const cEvent **reruns, int numReruns);
+ cRecMenuItem *GetMenuItem(int number);
+ int GetTotalNumMenuItems(void);
+ virtual ~cRecMenuRerunResults(void) {
+ delete[] reruns;
+ };
+};
+
+// --- cRecMenuNoRerunsFound ---------------------------------------------------------
+class cRecMenuNoRerunsFound: public cRecMenu {
+public:
+ cRecMenuNoRerunsFound(cString searchString);
+ virtual ~cRecMenuNoRerunsFound(void) {};
+};
+
+// --- cRecMenuConfirmRerunUsed ---------------------------------------------------------
+class cRecMenuConfirmRerunUsed: public cRecMenu {
+public:
+ cRecMenuConfirmRerunUsed(const cEvent *original, const cEvent *replace);
+ virtual ~cRecMenuConfirmRerunUsed(void) {};
+};
+
// --- cRecMenuEditTimer ---------------------------------------------------------
class cRecMenuEditTimer: public cRecMenu {
public:
@@ -229,8 +257,6 @@ public:
virtual ~cRecMenuSearchNothingFound(void) {};
};
-
-
// --- cRecMenuRecordingSearch ---------------------------------------------------------
class cRecMenuRecordingSearch: public cRecMenu {
private: