From e6335e9c4499bb1eae8e8115ae6ce26e878aa344 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 2 Jan 2014 11:25:58 +0100 Subject: Added timer Timeline view in red button recording menu --- recmenus.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'recmenus.h') 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 timersToday; + int numTimersToday; + time_t today; + time_t timeStart; + time_t timeStop; + cTVGuideTimerConflicts *timerConflicts; + std::vector 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 -- cgit v1.2.3