X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdriver%2Favswitch.h;h=8fdafdd1b4faab33f14999fccdf172dd185bf68d;hp=ec7d5c136a0ea3ac3e394faefe9f18e219a951f3;hb=10e7e45ae92d4fe06f70126ed256b87896dbc432;hpb=e41cbd8e4f84ce4ef23095e7eaba9c885922ba92 diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index ec7d5c1..8fdafdd 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,22 +1,39 @@ #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 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