aboutsummaryrefslogtreecommitdiff
path: root/lib/python/python.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-01-18 06:43:49 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-01-18 06:43:49 +0000
commit7c12c1089cfbee5b0a390d5f3de37f85de210263 (patch)
tree4a409acf597eed3e954bf236cc5fe4c3645f28c2 /lib/python/python.h
parent160f215065036a56fa709487a7f60239d98e8de3 (diff)
downloadenigma2-7c12c1089cfbee5b0a390d5f3de37f85de210263.tar.gz
enigma2-7c12c1089cfbee5b0a390d5f3de37f85de210263.zip
first version of PythonSignals - need to be finalized a bit, but work basically
Diffstat (limited to 'lib/python/python.h')
-rw-r--r--lib/python/python.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/python/python.h b/lib/python/python.h
index bde18146..94359176 100644
--- a/lib/python/python.h
+++ b/lib/python/python.h
@@ -3,14 +3,30 @@
#include <string>
+/* class ePyObject
+{
+ void *m_object;
+public:
+ ePyObject(void *ptr);
+ ePyObject(ePyObject &p);
+ ePyObject();
+ ePyObject &operator=(ePyObject &p);
+ ePyObject &operator=(void *p);
+ ~ePyObject();
+ void *get() { return m_object; }
+}; */
+
+typedef struct _object PyObject;
+
class ePython
{
public:
ePython();
~ePython();
int execute(const std::string &pythonfile, const std::string &funcname);
+ static void call(PyObject *pFunc, PyObject *args);
+ static PyObject *resolve(const std::string &pythonfile, const std::string &funcname);
private:
-
};
#endif