summaryrefslogtreecommitdiff
path: root/plugin/menu.h
blob: 5ab90b25a912341b3925dfbfa8fb05f430e9cd26 (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
/*
 * menu.h: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */
#ifndef __menu_h_
#define __menu_h_

#include "status.h"

class cOsdMarkAd : public cOsdItem
{
private:
    struct recs *entry;
public:
    cOsdMarkAd(struct recs *Entry);
    struct recs *GetEntry()
    {
        return entry;
    }
};

class cMenuMarkAd : public cOsdMenu
{
private:
    cStatusMarkAd *status;
    void SetHelpText(struct recs *Entry);
    bool write();
    time_t last;
    int lastpos;
public:
    cMenuMarkAd(cStatusMarkAd *Status);
    eOSState ProcessKey(eKeys Key);
};

#endif