git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix saving of nameservers
[enigma2.git]
/
lib
/
driver
/
avswitch.h
diff --git
a/lib/driver/avswitch.h
b/lib/driver/avswitch.h
index d8417692849a2b6e4f2e882d9f14d6a73a5f751c..8fdafdd1b4faab33f14999fccdf172dd185bf68d 100644
(file)
--- a/
lib/driver/avswitch.h
+++ b/
lib/driver/avswitch.h
@@
-1,19
+1,39
@@
#ifndef __avswitch_h
#define __avswitch_h
#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;
{
static eAVSwitch *instance;
-
- int avsfd;
-protected:
+ int m_video_mode;
+ ePtr<eSocketNotifier> m_fp_notifier;
+ void fp_event(int what);
+ int m_fp_fd;
+#ifdef SWIG
+ eAVSwitch();
+ ~eAVSwitch();
+#endif
+protected:
public:
public:
+#ifndef SWIG
eAVSwitch();
~eAVSwitch();
eAVSwitch();
~eAVSwitch();
-
+#endif
static eAVSwitch *getInstance();
static eAVSwitch *getInstance();
-
+ bool haveScartSwitch();
+ int getVCRSlowBlanking();
+ void setFastBlank(int val);
void setColorFormat(int format);
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
};
#endif