vdr  2.0.2
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 2.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
32