summaryrefslogtreecommitdiff
path: root/plugin/menu.h
blob: 1557e191d7175a7f6dc015d23926c1dc44971969 (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
/*
 * 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 <signal.h>
#include <vdr/menu.h>
#include <vdr/font.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;
public:
    cMenuMarkAd(cStatusMarkAd *Status);
    eOSState ProcessKey(eKeys Key);
};

#endif