X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdriver%2Favswitch.h;h=bcb29c40eb405491c10b539a0fbbd22c06c0b82a;hp=9c26b1ad131f309d0b62fe72d0be6259d1f5dd0b;hb=6e151e5a721c14ebfeb8812804cb7abcf0eb96a4;hpb=f50ea7e42b05996b75eba9ed4376c539c5fc00ae diff --git a/lib/driver/avswitch.h b/lib/driver/avswitch.h index 9c26b1a..bcb29c4 100644 --- a/lib/driver/avswitch.h +++ b/lib/driver/avswitch.h @@ -1,28 +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); void setWSS(int val); + PSignal1 vcr_sb_notifier; }; #endif