summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/sz_transfer.h
authorhash <hash>2002-10-07 08:18:40 (UTC)
committer hash <hash>2002-10-07 08:18:40 (UTC)
commited032e9e5b7a260e9ec05a0cc13a138dad5085d5 (patch) (unidiff)
tree125a7b068f592ccc0d5a2d21feaeb84bac25d007 /noncore/apps/opie-console/sz_transfer.h
parent4202539e8a50bad62e6ee0cbf3965e00e9ff156a (diff)
downloadopie-ed032e9e5b7a260e9ec05a0cc13a138dad5085d5.zip
opie-ed032e9e5b7a260e9ec05a0cc13a138dad5085d5.tar.gz
opie-ed032e9e5b7a260e9ec05a0cc13a138dad5085d5.tar.bz2
separated from the interface
Diffstat (limited to 'noncore/apps/opie-console/sz_transfer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/sz_transfer.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/sz_transfer.h b/noncore/apps/opie-console/sz_transfer.h
new file mode 100644
index 0000000..778d1d3
--- a/dev/null
+++ b/noncore/apps/opie-console/sz_transfer.h
@@ -0,0 +1,33 @@
1#ifndef OPIE_FL_SZ_H
2#define OPIE_FL_SZ_H
3
4#include "file_layer.h"
5#include <opie/oprocess.h>
6
7class SzTransfer : public FileTransferLayer {
8
9 Q_OBJECT
10
11public:
12
13 SzTransfer( IOLayer * );
14 ~SzTransfer();
15
16public slots:
17 /**
18 * send a file over the layer
19 */
20 void sendFile( const QString& file ) = 0;
21 void sendFile( const QFile& ) = 0;
22
23private slots:
24 void SzRecievedStdout(OProcess *, char *, int);
25 void SzRecievedStderr(OProcess *, char *, int);
26 void recievedStdin(QByteArray &);
27
28private:
29 OProcess *proc;
30
31};
32
33#endif