summaryrefslogtreecommitdiffstats
path: root/src/consoleworker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/consoleworker.h')
-rw-r--r--src/consoleworker.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/consoleworker.h b/src/consoleworker.h
new file mode 100644
index 0000000..276f987
--- /dev/null
+++ b/src/consoleworker.h
@@ -0,0 +1,34 @@
+#ifndef _CONSOLEWORKER_H_
+#define _CONSOLEWORKER_H_
+
+#include "datasource/idatasource.h"
+#include "copythread.h"
+
+#include <QString>
+#include <QTimer>
+#include <QVector>
+
+class CopyThread;
+
+class ConsoleWorker : public QObject
+{
+ Q_OBJECT
+
+public:
+ ConsoleWorker(QString fileName);
+ virtual ~ConsoleWorker();
+
+private slots:
+ void logMessage(CopyThread::LogMessageId msgId, QString message);
+ void testFinished();
+ void updateTimer();
+
+private:
+ CopyThread *_thread;
+ QString _fileName;
+ QTimer _timer;
+ IDataSource* _networkSource;
+ QVector<int> _series;
+};
+
+#endif