summaryrefslogtreecommitdiff
path: root/recmenumanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'recmenumanager.h')
-rw-r--r--recmenumanager.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/recmenumanager.h b/recmenumanager.h
new file mode 100644
index 0000000..cc9ac2c
--- /dev/null
+++ b/recmenumanager.h
@@ -0,0 +1,38 @@
+#ifndef __TVGUIDE_RECMENUMANAGER_H
+#define __TVGUIDE_RECMENUMANAGER_H
+
+// --- cRecMenuManager -------------------------------------------------------------
+class cRecMenuManager {
+private:
+ bool active;
+ cRecMenu *activeMenu;
+ cRecMenu *activeMenuBuffer;
+ const cEvent *event;
+ cRecManager *recManager;
+ std::vector<TVGuideTimerConflict> conflictList;
+ std::vector<TVGuideEPGSearchTemplate> epgSearchTemplates;
+ bool instantRecord;
+ int currentConflict;
+ int templateID;
+ bool searchWithOptions;
+ cTimer *timer;
+ cString searchString;
+ cDetailView *detailView;
+ cPixmap *pixmapBackground;
+ bool detailViewActive;
+ void SetBackground(void);
+ void DeleteBackground(void);
+ bool displayTimerConflict(cTimer *timer);
+ bool displayTimerConflict(int timerID);
+ bool createSearchTimer(std::string epgSearchString);
+public:
+ cRecMenuManager(void);
+ virtual ~cRecMenuManager(void);
+ bool isActive(void) { return active; };
+ void Start(const cEvent *event);
+ void Close(void);
+ eOSState StateMachine(eRecMenuState nextState);
+ eOSState ProcessKey(eKeys Key);
+};
+
+#endif //__TVGUIDE_RECMENUMANAGER_H \ No newline at end of file