From a19e9744751d4278f56cb3b6ff885c0068f03a3d Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Sun, 27 Nov 2011 12:31:03 +0200 Subject: File downloading (no MD5 hash check yet). Various fixes --- client/FileOpThread.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 client/FileOpThread.h (limited to 'client/FileOpThread.h') 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 + +/** + * @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 -- cgit v1.2.3