summaryrefslogtreecommitdiff
path: root/recmenumanager.h
blob: 71d6f49724f0e3dbf60dfd86022bf6b36ef24adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#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;
    bool folderChoosen;
    int currentConflict;
    int templateID;
    bool searchWithOptions;
    cTimer *timer;
    cString recFolder;
    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