small fix
[enigma2.git] / lib / driver / avswitch.h
index ec7d5c136a0ea3ac3e394faefe9f18e219a951f3..2b3b40fb48de8db05d30ae81bead9291a5a598e8 100644 (file)
@@ -1,22 +1,38 @@
 #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;
-       
-protected:     
+       int m_video_mode;
+       eSocketNotifier *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();
-
+       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<void, int> vcr_sb_notifier;
 };
 
 #endif