provide better way of passing arguments to 'execute'
[enigma2.git] / lib / base / console.h
index ddfd82a9d9d4ea7a298066d63e5b9cce68063064..cf8e539796685ec31a9621b4659bc29f9178ff51 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __LIB_BASE_CONSOLE_H__
 #define __LIB_BASE_CONSOLE_H__
 
+#include "Python.h"
 #include <string>
 #include <lib/base/ebase.h>
 #include <lib/python/connections.h>
@@ -33,7 +34,9 @@ class eConsoleAppContainer: public Object
 #endif
 public:
        eConsoleAppContainer();
-       int execute( const std::string &str );
+       int execute( const char *str );
+       int execute( const char *cmdline, const char *const argv[] );
+       int execute( PyObject *cmdline, PyObject *args );
        ~eConsoleAppContainer();
        int getPID() { return pid; }
        void kill();