vdr  2.0.4
setup.h
Go to the documentation of this file.
1 /*
2  * setup.h: Setup for the DVB HD Full Featured On Screen Display
3  *
4  * See the README file for copyright information and how to reach the author.
5  */
6 
7 #ifndef _HDFF_SETUP_H_
8 #define _HDFF_SETUP_H_
9 
10 #include <vdr/plugin.h>
11 #include "hdffcmd.h"
12 
13 struct cHdffSetup
14 {
15  cHdffSetup(void);
16  bool SetupParse(const char * Name, const char * Value);
17  void GetOsdSize(int &Width, int &Height, double &PixelAspect);
19  void SetNextVideoConversion(void);
20  const char * GetVideoConversionString(void);
21 
24  int TvFormat;
30  int OsdSize;
32  int CecTvOn;
33  int CecTvOff;
36 
39 
41 };
42 
43 extern cHdffSetup gHdffSetup;
44 
46 {
47 private:
52 
53  void BuildVideoConversionItem(void);
54 
55 protected:
56  virtual void Store(void);
57 
58 public:
59  cHdffSetupPage(HDFF::cHdffCmdIf * pHdffCmdIf);
60  virtual ~cHdffSetupPage(void);
61  virtual eOSState ProcessKey(eKeys Key);
62 };
63 
64 #endif
65