diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-04-13 22:40:38 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-04-13 22:40:38 +0000 |
| commit | 1c4d458b5df83facce7cf71b39ab247eb1447491 (patch) | |
| tree | 584a44a8398d97396ff42f1c0ed97c82ec9a611d /lib/base/console.h | |
| parent | 46b16b46aa3c50fdc848f3c228d06871450653f2 (diff) | |
| download | enigma2-1c4d458b5df83facce7cf71b39ab247eb1447491.tar.gz enigma2-1c4d458b5df83facce7cf71b39ab247eb1447491.zip | |
add support for writing python strings directly
Diffstat (limited to 'lib/base/console.h')
| -rw-r--r-- | lib/base/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base/console.h b/lib/base/console.h index cf8e5397..07ad6a90 100644 --- a/lib/base/console.h +++ b/lib/base/console.h @@ -42,6 +42,7 @@ public: void kill(); void sendCtrlC(); void write( const char *data, int len ); + void write( PyObject *data ); bool running() { return (fd[0]!=-1) && (fd[1]!=-1) && (fd[2]!=-1); } PSignal1<void, const char*> dataAvail; PSignal1<void,int> dataSent; |
