X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdriver%2Favswitch.h;h=bcb29c40eb405491c10b539a0fbbd22c06c0b82a;hb=59fb353ca955f4d6806938fccbe3100cee86b902;hp=157948826fe5d4af8c24a9ac78e5a3c8b3657d38;hpb=e809534d8af6a2f742dbc6d1341c7df804a42234;p=vuplus_dvbapp diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index 1579488..bcb29c4 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,20 +1,37 @@ #ifndef __avswitch_h #define __avswitch_h -class eAVSwitch +#include +#include + +class eSocketNotifier; + +class eAVSwitch: public Object { static eAVSwitch *instance; - -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