summaryrefslogtreecommitdiff
path: root/menu-item.h
blob: 6522e88cd20c02c1a0ac1ac8c14635683af9433f (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
#ifndef __MENUITEM_DVDSWITCH_H
#define __MENUITEM_DVDSWITCH_H

#include <vdr/osdbase.h>
#include "dvdlist-item.h"

enum eMainMenuItem
{
  iCat,
  iParent,
  iDir,
  iDVD,
  iDevice
};

class cMainMenuItem : public cOsdItem
{
  private:
    eMainMenuItem iType;
    char *File;
    char *OSD;
  public:
    cMainMenuItem(eMainMenuItem itype, cImageList &ImageList, const char *file = NULL);
    ~cMainMenuItem(void);

    eMainMenuItem Type(void) { return iType; };
    char* FileName(void) { return File; };
};

#endif // __MENUITEM_DVDSWITCH_H