vdr  2.2.0
PLUGINS/src/pictures/menu.h
Go to the documentation of this file.
1 /*
2  * menu.h: A menu for still pictures
3  *
4  * See the README file for copyright information and how to reach the author.
5  *
6  * $Id: menu.h 3.0 2008/01/12 11:22:52 kls Exp $
7  */
8 
9 #ifndef _MENU_H
10 #define _MENU_H
11 
12 #include <vdr/osdbase.h>
13 #include <vdr/tools.h>
14 #include "entry.h"
15 
16 extern char PictureDirectory[PATH_MAX];
17 
18 class cPictureMenu : public cOsdMenu {
19 private:
22  void Set(const char *Path);
23  eOSState SelectItem(const char *Path = NULL, bool SlideShow = false);
24 public:
25  cPictureMenu(const cPictureEntry *PictureEntry, const char *Path = NULL);
26  ~cPictureMenu();
27  virtual eOSState ProcessKey(eKeys Key);
28  static cPictureMenu *CreatePictureMenu(void);
29  };
30 
31 #endif //_MENU_H
const cPictureEntry * pictureEntry
cPictureMenu(const cPictureEntry *PictureEntry, const char *Path=NULL)
static cPictureEntry * pictures
void Set(const char *Path)
eOSState
Definition: osdbase.h:18
virtual eOSState ProcessKey(eKeys Key)
char PictureDirectory[PATH_MAX]
eOSState SelectItem(const char *Path=NULL, bool SlideShow=false)
static cPictureMenu * CreatePictureMenu(void)
eKeys
Definition: keys.h:16