summaryrefslogtreecommitdiff
path: root/recmenus.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-02 11:25:58 +0100
committerlouis <louis.braun@gmx.de>2014-01-02 11:25:58 +0100
commite6335e9c4499bb1eae8e8115ae6ce26e878aa344 (patch)
tree13ef5591fb80d2c17455e23f812486f713da1170 /recmenus.h
parenteede61ade5b226480ebbe1e29235df58170a24bd (diff)
downloadvdr-plugin-tvguide-e6335e9c4499bb1eae8e8115ae6ce26e878aa344.tar.gz
vdr-plugin-tvguide-e6335e9c4499bb1eae8e8115ae6ce26e878aa344.tar.bz2
Added timer Timeline view in red button recording menu
Diffstat (limited to 'recmenus.h')
-rw-r--r--recmenus.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/recmenus.h b/recmenus.h
index 5b7c485..09d9d8c 100644
--- a/recmenus.h
+++ b/recmenus.h
@@ -267,7 +267,6 @@ public:
};
// --- cRecMenuRecordingSearchResults ---------------------------------------------------------
-
class cRecMenuRecordingSearchResults: public cRecMenu {
private:
cRecording **searchResults;
@@ -288,5 +287,30 @@ public:
virtual ~cRecMenuRecordingSearchNotFound(void) {};
};
+// --- cRecMenuTimeline ---------------------------------------------------------
+class cRecMenuTimeline: public cRecMenu {
+private:
+ std::vector<cTimer*> timersToday;
+ int numTimersToday;
+ time_t today;
+ time_t timeStart;
+ time_t timeStop;
+ cTVGuideTimerConflicts *timerConflicts;
+ std::vector<cTVGuideTimerConflict*> conflictsToday;
+ cRecMenuItemTimelineHeader *header;
+ void SetStartStop(void);
+ void GetTimersForDay(void);
+ void SetTimers(void);
+ void PrevDay(void);
+ void NextDay(void);
+ void ClearMenuItems(void);
+public:
+ cRecMenuTimeline(cTVGuideTimerConflicts *timerConflicts);
+ cRecMenuItem *GetMenuItem(int number);
+ int GetTotalNumMenuItems(void);
+ virtual ~cRecMenuTimeline(void) {
+ };
+ eRecMenuState ProcessKey(eKeys Key);
+};
#endif //__TVGUIDE_RECMENUS_H \ No newline at end of file