fix without any effect
[enigma2.git] / lib / python / python.h
1 #ifndef __lib_python_python_h
2 #define __lib_python_python_h
3
4 #include <string>
5
6 /* class ePyObject
7 {
8         void *m_object;
9 public:
10         ePyObject(void *ptr);
11         ePyObject(ePyObject &p);
12         ePyObject();
13         ePyObject &operator=(ePyObject &p);
14         ePyObject &operator=(void *p);
15         ~ePyObject();
16         void *get() { return m_object; }
17 }; */
18
19 typedef struct _object PyObject;
20
21 class ePython
22 {
23 public:
24         ePython();
25         ~ePython();
26         int execute(const std::string &pythonfile, const std::string &funcname);
27         static int call(PyObject *pFunc, PyObject *args);
28         static PyObject *resolve(const std::string &pythonfile, const std::string &funcname);
29 private:
30 };
31
32 #endif