X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9458c6fcf07885c97e8b627b035c848267ee2d0c..82bf6dd2d5cd1634a1c85bb5a8b1248e1822d89f:/lib/driver/avswitch.h diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index d8417692..bcb29c40 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,19 +1,37 @@ #ifndef __avswitch_h #define __avswitch_h -class eAVSwitch +#include +#include + +class eSocketNotifier; + +class eAVSwitch: public Object { static eAVSwitch *instance; - - int avsfd; -protected: + int m_video_mode; + ePtr 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(); - + bool haveScartSwitch(); + int getVCRSlowBlanking(); void setColorFormat(int format); + void setAspectRatio(int ratio); + void setVideomode(int mode); + void setInput(int val); + void setWSS(int val); + PSignal1 vcr_sb_notifier; }; #endif