diff options
author | louis <louis.braun@gmx.de> | 2014-01-02 11:25:58 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-02 11:25:58 +0100 |
commit | e6335e9c4499bb1eae8e8115ae6ce26e878aa344 (patch) | |
tree | 13ef5591fb80d2c17455e23f812486f713da1170 /recmenus.h | |
parent | eede61ade5b226480ebbe1e29235df58170a24bd (diff) | |
download | vdr-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.h | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -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 |