summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/file_layer.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/file_layer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/file_layer.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/file_layer.h b/noncore/apps/opie-console/file_layer.h
index 035e125..71a0c82 100644
--- a/noncore/apps/opie-console/file_layer.h
+++ b/noncore/apps/opie-console/file_layer.h
@@ -1,8 +1,9 @@
#ifndef OPIE_FILE_LAYER_H
#define OPIE_FILE_LAYER_H
#include "io_layer.h"
+#include <opie/oprocess.h>
class QFile;
/**
* this is the layer for sending files
@@ -20,14 +21,15 @@ public slots:
/**
* send a file over the layer
*/
virtual void sendFile( const QString& file ) = 0;
-
- /**
- * convience method
- */
virtual void sendFile( const QFile& ) = 0;
+private slots:
+ void SzRecievedStdout(OProcess *, char *, int);
+ void SzRecievedStderr(OProcess *, char *, int);
+ void recievedStdin(QByteArray &);
+
signals:
/**
* sent the file
*/
@@ -49,8 +51,9 @@ protected:
IOLayer* layer();
private:
IOLayer* m_layer;
+ OProcess *proc;
};
#endif