2013-07-09 00:17:42 +02:00
|
|
|
#ifndef __TVGUIDE_RECMENUMANAGER_H
|
|
|
|
#define __TVGUIDE_RECMENUMANAGER_H
|
|
|
|
|
2013-12-07 15:51:50 +01:00
|
|
|
#include "recmenu.h"
|
|
|
|
#include "recmanager.h"
|
|
|
|
#include "services/epgsearch.h"
|
2014-01-11 16:53:23 +01:00
|
|
|
#include "footer.h"
|
2013-12-07 15:51:50 +01:00
|
|
|
|
2013-07-09 00:17:42 +02:00
|
|
|
// --- cRecMenuManager -------------------------------------------------------------
|
|
|
|
class cRecMenuManager {
|
|
|
|
private:
|
2014-01-11 16:53:23 +01:00
|
|
|
cFooter *footer;
|
2013-07-09 00:17:42 +02:00
|
|
|
bool active;
|
|
|
|
cRecMenu *activeMenu;
|
|
|
|
cRecMenu *activeMenuBuffer;
|
2014-01-17 16:11:12 +01:00
|
|
|
cRecMenu *activeMenuBuffer2;
|
2013-07-09 00:17:42 +02:00
|
|
|
const cEvent *event;
|
|
|
|
cRecManager *recManager;
|
2013-12-29 18:13:45 +01:00
|
|
|
cTVGuideTimerConflicts *timerConflicts;
|
2013-07-09 00:17:42 +02:00
|
|
|
cDetailView *detailView;
|
|
|
|
cPixmap *pixmapBackground;
|
|
|
|
bool detailViewActive;
|
|
|
|
void SetBackground(void);
|
|
|
|
void DeleteBackground(void);
|
2014-01-10 12:44:01 +01:00
|
|
|
void DisplaySearchTimerList(void);
|
2018-03-08 13:30:41 +01:00
|
|
|
#if VDRVERSNUM >= 20301
|
2018-03-08 13:02:38 +01:00
|
|
|
bool DisplayTimerConflict(const cTimer *timer);
|
|
|
|
#else
|
2014-01-10 12:44:01 +01:00
|
|
|
bool DisplayTimerConflict(cTimer *timer);
|
2018-03-08 13:02:38 +01:00
|
|
|
#endif
|
2014-01-10 12:44:01 +01:00
|
|
|
bool DisplayTimerConflict(int timerID);
|
2014-01-11 16:53:23 +01:00
|
|
|
void DisplayDetailedView(const cEvent *ev);
|
2014-01-19 13:52:05 +01:00
|
|
|
void DisplayFavoriteResults(std::string header, const cEvent **result, int numResults);
|
2013-07-09 00:17:42 +02:00
|
|
|
public:
|
|
|
|
cRecMenuManager(void);
|
|
|
|
virtual ~cRecMenuManager(void);
|
2014-01-11 16:53:23 +01:00
|
|
|
void SetFooter(cFooter *footer) { this->footer = footer; };
|
2013-07-09 00:17:42 +02:00
|
|
|
bool isActive(void) { return active; };
|
|
|
|
void Start(const cEvent *event);
|
2014-01-14 18:00:32 +01:00
|
|
|
void StartFavorites(void);
|
2013-07-09 00:17:42 +02:00
|
|
|
void Close(void);
|
|
|
|
eOSState StateMachine(eRecMenuState nextState);
|
|
|
|
eOSState ProcessKey(eKeys Key);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__TVGUIDE_RECMENUMANAGER_H
|