move media player into plugin (patch by Moritz Venn, 001_enigma2_make_mediaplayer_a_p...
[enigma2.git] / lib / driver / avswitch.h
1 #ifndef __avswitch_h
2 #define __avswitch_h
3
4 #include <lib/base/object.h>
5 #include <lib/python/connections.h>
6
7 class eSocketNotifier;
8
9 class eAVSwitch: public Object
10 {
11         static eAVSwitch *instance;
12         int m_video_mode;
13         eSocketNotifier *m_fp_notifier;
14         void fp_event(int what);
15         int m_fp_fd;
16 #ifdef SWIG
17         eAVSwitch();
18         ~eAVSwitch();
19 #endif
20 protected:
21 public:
22 #ifndef SWIG
23         eAVSwitch();
24         ~eAVSwitch();
25 #endif
26         static eAVSwitch *getInstance();
27         int getVCRSlowBlanking();
28         void setFastBlank(int val);
29         void setColorFormat(int format);
30         void setAspectRatio(int ratio);
31         void setVideomode(int mode);
32         void setInput(int val);
33         void setSlowblank(int val);
34         void setWSS(int val);
35         PSignal1<void, int> vcr_sb_notifier;
36 };
37
38 #endif