add auto vcr switching support (needs new drivers (fp.ko))
[vuplus_dvbapp] / lib / python / connections.h
index 3df7b56..8a06f7f 100644 (file)
@@ -45,6 +45,11 @@ inline PyObject *PyFrom(int v)
        return PyInt_FromLong(v);
 }
 
+inline PyObject *PyFrom(const char *c)
+{
+       return PyString_FromString(c);
+}
+
 template <class R>
 class PSignal0: public PSignal, public Signal0<R>
 {