forked from qt-creator/qt-creator
25 lines
437 B
C++
25 lines
437 B
C++
#ifndef SFTPTEST_H
|
|
#define SFTPTEST_H
|
|
|
|
#include "parameters.h"
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
class SftpTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
SftpTest(const Parameters ¶ms);
|
|
void run();
|
|
|
|
private:
|
|
enum State { Inactive, Connecting, UploadingSmall, DownloadingSmall,
|
|
RemovingSmall, UploadingBig, DownloadingBig, RemovingBig
|
|
};
|
|
const Parameters m_parameters;
|
|
State m_state;
|
|
};
|
|
|
|
|
|
#endif // SFTPTEST_H
|