summaryrefslogtreecommitdiff
path: root/client/FileOpThread.h
diff options
context:
space:
mode:
authorAlex Borisov <borisov.alexandr@rambler.ru>2011-11-27 12:31:03 +0200
committerAlex Borisov <borisov.alexandr@rambler.ru>2011-11-27 12:31:03 +0200
commita19e9744751d4278f56cb3b6ff885c0068f03a3d (patch)
treec33901631e352a48594700a11505e8f74bfa0368 /client/FileOpThread.h
parent474acc85db4e403d8207f1744de18bfc4a5f0acd (diff)
File downloading (no MD5 hash check yet). Various fixes
Diffstat (limited to 'client/FileOpThread.h')
-rw-r--r--client/FileOpThread.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/FileOpThread.h b/client/FileOpThread.h
new file mode 100644
index 0000000..29731c9
--- /dev/null
+++ b/client/FileOpThread.h
@@ -0,0 +1,25 @@
+
+
+#ifndef FILE_OP_THREAD_H
+#define FILE_OP_THREAD_H
+
+#include <QThread>
+
+/**
+ * @brief Special thread to process all file operations
+ */
+class FileOpThread: public QThread
+{
+public:
+ /**
+ * @brief Initialize new FIleOpThread instance
+ */
+ FileOpThread() {}
+
+ /**
+ * @brief Thread main loop
+ */
+ void run();
+};
+
+#endif \ No newline at end of file