provide better way of passing arguments to 'execute'
[enigma2.git] / lib / base / console.h
index 1b58dbda676f5f4fd3e7d8aaf4e38450b38dc08d..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>
@@ -34,6 +35,8 @@ class eConsoleAppContainer: public Object
 public:
        eConsoleAppContainer();
        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();