X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f70fe619f352c00df9ab2bfa345164e0ca196b6b..82bf6dd2d5cd1634a1c85bb5a8b1248e1822d89f:/lib/driver/avswitch.h diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index ea451314..bcb29c40 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,27 +1,37 @@ #ifndef __avswitch_h #define __avswitch_h -class eAVSwitch +#include +#include + +class eSocketNotifier; + +class eAVSwitch: public Object { static eAVSwitch *instance; + int m_video_mode; + ePtr m_fp_notifier; + void fp_event(int what); + int m_fp_fd; #ifdef SWIG eAVSwitch(); ~eAVSwitch(); #endif -protected: +protected: public: #ifndef SWIG eAVSwitch(); ~eAVSwitch(); #endif static eAVSwitch *getInstance(); - - void setFastBlank(int val); + bool haveScartSwitch(); + int getVCRSlowBlanking(); void setColorFormat(int format); void setAspectRatio(int ratio); void setVideomode(int mode); void setInput(int val); - void setSlowblank(int val); // 1: on, 0: off + void setWSS(int val); + PSignal1 vcr_sb_notifier; }; #endif