From 918defcaea2b570a927a2884ce0e720b03e32d8a Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Thu, 1 Dec 2011 03:11:09 +0200 Subject: FIX file transfer; FIX packet parsing bug; + many various fixes and improvements --- client/FileOpThread.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'client/FileOpThread.h') diff --git a/client/FileOpThread.h b/client/FileOpThread.h index 29731c9..83a8dd0 100644 --- a/client/FileOpThread.h +++ b/client/FileOpThread.h @@ -5,6 +5,8 @@ #include +class DownloadClient; + /** * @brief Special thread to process all file operations */ @@ -14,12 +16,17 @@ public: /** * @brief Initialize new FIleOpThread instance */ - FileOpThread() {} + FileOpThread(): downloadClient(NULL) {} + + ~FileOpThread(); /** * @brief Thread main loop */ void run(); + +private: + DownloadClient *downloadClient; }; #endif \ No newline at end of file -- cgit v1.2.3