diff options
Diffstat (limited to 'PLUGINS/src/dvbhddevice/setup.h')
-rw-r--r-- | PLUGINS/src/dvbhddevice/setup.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/PLUGINS/src/dvbhddevice/setup.h b/PLUGINS/src/dvbhddevice/setup.h new file mode 100644 index 0000000..07c9d1a --- /dev/null +++ b/PLUGINS/src/dvbhddevice/setup.h @@ -0,0 +1,53 @@ +/* + * setup.h: Setup for the DVB HD Full Featured On Screen Display + * + * See the README file for copyright information and how to reach the author. + * + * $Id: setup.h 1.8 2011/04/17 11:20:22 kls Exp $ + */ + +#ifndef _HDFF_SETUP_H_ +#define _HDFF_SETUP_H_ + +#include <vdr/plugin.h> +#include "hdffcmd.h" + +struct cHdffSetup +{ + cHdffSetup(void); + bool SetupParse(const char * Name, const char * Value); + void GetOsdSize(int &Width, int &Height, double &PixelAspect); + HDFF::eHdmiVideoMode GetVideoMode(void); + + int Resolution; + int TvFormat; + int VideoConversion; + int AnalogueVideo; + int AudioDelay; + int AudioDownmix; + int OsdSize; + int CecEnabled; + int RemoteProtocol; + int RemoteAddress; + + int HighLevelOsd; + int TrueColorOsd; +}; + +extern cHdffSetup gHdffSetup; + +class cHdffSetupPage : public cMenuSetupPage +{ +private: + HDFF::cHdffCmdIf * mHdffCmdIf; + cHdffSetup mNewHdffSetup; + +protected: + virtual void Store(void); + +public: + cHdffSetupPage(HDFF::cHdffCmdIf * pHdffCmdIf); + virtual ~cHdffSetupPage(void); +}; + +#endif |