fix seekable status when service is already running, only show infobar if InfoBarShow...
[enigma2.git] / lib / driver / avswitch.h
index ea451314f19954556561a9e4642bb25b1ddc25e3..2b3b40fb48de8db05d30ae81bead9291a5a598e8 100644 (file)
@@ -1,27 +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;
+       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<void, int> vcr_sb_notifier;
 };
 
 #endif