X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdriver%2Favswitch.h;h=2b3b40fb48de8db05d30ae81bead9291a5a598e8;hp=ea451314f19954556561a9e4642bb25b1ddc25e3;hb=e03c732afb410b4d6b9f9540c36c33c941ee38f1;hpb=f70fe619f352c00df9ab2bfa345164e0ca196b6b diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index ea45131..2b3b40f 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,27 +1,38 @@ #ifndef __avswitch_h #define __avswitch_h -class eAVSwitch +#include +#include + +class eSocketNotifier; + +class eAVSwitch: public Object { static eAVSwitch *instance; + int m_video_mode; + eSocketNotifier *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(); - + 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); // 1: on, 0: off + void setSlowblank(int val); + void setWSS(int val); + PSignal1 vcr_sb_notifier; }; #endif