X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e809534d8af6a2f742dbc6d1341c7df804a42234..1dbaf81816d8994a84716bf1f8ca34645206ae22:/lib/driver/avswitch.h diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index 15794882..2b3b40fb 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,20 +1,38 @@ #ifndef __avswitch_h #define __avswitch_h -class eAVSwitch +#include +#include + +class eSocketNotifier; + +class eAVSwitch: public Object { static eAVSwitch *instance; - -protected: + int m_video_mode; + eSocketNotifier *m_fp_notifier; + void fp_event(int what); + int m_fp_fd; +#ifdef SWIG + eAVSwitch(); + ~eAVSwitch(); +#endif +protected: public: +#ifndef SWIG eAVSwitch(); ~eAVSwitch(); - +#endif static eAVSwitch *getInstance(); - + int getVCRSlowBlanking(); + void setFastBlank(int val); void setColorFormat(int format); void setAspectRatio(int ratio); void setVideomode(int mode); + void setInput(int val); + void setSlowblank(int val); + void setWSS(int val); + PSignal1 vcr_sb_notifier; }; #endif