Merge branch 'bug_274_disable_fast_winding_for_non_ts'
[enigma2.git] / lib / driver / avswitch.h
index d765e02afe6758a41c975fa419af83422482fb5e..bcb29c40eb405491c10b539a0fbbd22c06c0b82a 100644 (file)
@@ -1,27 +1,37 @@
 #ifndef __avswitch_h
 #define __avswitch_h
 
-class eAVSwitch
+#include <lib/base/object.h>
+#include <lib/python/connections.h>
+
+class eSocketNotifier;
+
+class eAVSwitch: public Object
 {
        static eAVSwitch *instance;
+       int m_video_mode;
+       ePtr<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();
-       
-       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 setWSS(int val);
+       PSignal1<void, int> vcr_sb_notifier;
 };
 
 #endif