Diffstat (limited to 'noncore/apps/opie-console/sz_transfer.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/sz_transfer.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/sz_transfer.h b/noncore/apps/opie-console/sz_transfer.h index 778d1d3..825680d 100644 --- a/noncore/apps/opie-console/sz_transfer.h +++ b/noncore/apps/opie-console/sz_transfer.h @@ -4,30 +4,36 @@ #include "file_layer.h" #include <opie/oprocess.h> class SzTransfer : public FileTransferLayer { Q_OBJECT public: + enum Type { + SZ=0, + SX, + SY + }; - SzTransfer( IOLayer * ); + SzTransfer( Type t, IOLayer * ); ~SzTransfer(); public slots: /** * send a file over the layer */ - void sendFile( const QString& file ) = 0; - void sendFile( const QFile& ) = 0; + void sendFile( const QString& file ) ; + void sendFile( const QFile& ); private slots: void SzRecievedStdout(OProcess *, char *, int); void SzRecievedStderr(OProcess *, char *, int); void recievedStdin(QByteArray &); private: OProcess *proc; + Type m_t; }; #endif |