vdr-plugin-tvguide/recmenumanager.h

35 lines
1.0 KiB
C
Raw Normal View History

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"
2013-07-09 00:17:42 +02:00
// --- cRecMenuManager -------------------------------------------------------------
class cRecMenuManager {
private:
bool active;
cRecMenu *activeMenu;
cRecMenu *activeMenuBuffer;
const cEvent *event;
cRecManager *recManager;
cTVGuideTimerConflicts *timerConflicts;
2013-07-09 00:17:42 +02:00
cDetailView *detailView;
cPixmap *pixmapBackground;
bool detailViewActive;
void SetBackground(void);
void DeleteBackground(void);
void DisplaySearchTimerList(void);
bool DisplayTimerConflict(cTimer *timer);
bool DisplayTimerConflict(int timerID);
2013-07-09 00:17:42 +02:00
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