Diffstat (limited to 'noncore/apps/opie-console/MyPty.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/MyPty.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/MyPty.h b/noncore/apps/opie-console/MyPty.h index 7561ca3..b292ce4 100644 --- a/noncore/apps/opie-console/MyPty.h +++ b/noncore/apps/opie-console/MyPty.h @@ -20,16 +20,19 @@ */ #ifndef MY_PTY_H #define MY_PTY_H #include <qobject.h> +#include <qlist.h> #include <qstrlist.h> #include "io_layer.h" +typedef QMap<QString, QString> EnvironmentMap; + class Profile; class QSocketNotifier; class MyPty : public IOLayer { Q_OBJECT public: @@ -92,9 +95,12 @@ private: char m_ttynam[16]; // "/dev/ttyxx" | "/dev/pts/########..." int m_fd; int m_cpid; QSocketNotifier* m_sn_e; QSocketNotifier* m_sn_r; char* m_term; + + QString m_cmd; + EnvironmentMap m_env; }; #endif |