aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib/rdwrfn.hpp
diff options
context:
space:
mode:
authorJim Carroll <thecarrolls@jiminger.com>2011-06-19 22:30:53 -0400
committerJim Carroll <thecarrolls@jiminger.com>2011-06-23 10:15:27 -0400
commitf4c0efae8d41575ef4e9e7b2d50697cfe99038b5 (patch)
tree41a4281dabecb1e578b783fa4a9d7f296402ba08 /lib/UnrarXLib/rdwrfn.hpp
parentef2c3c35bec5452ed04540c6a5da9288fc2fa30b (diff)
Removed all WaitForSingleObject and WaitForMultipleObjects calls and replaced them with the latest CEvent calls.
Diffstat (limited to 'lib/UnrarXLib/rdwrfn.hpp')
-rw-r--r--lib/UnrarXLib/rdwrfn.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/UnrarXLib/rdwrfn.hpp b/lib/UnrarXLib/rdwrfn.hpp
index 95111ca316..69d7f5906e 100644
--- a/lib/UnrarXLib/rdwrfn.hpp
+++ b/lib/UnrarXLib/rdwrfn.hpp
@@ -5,6 +5,7 @@ class CmdAdd;
class Unpack;
#include "system.h"
+#include "threads/Event.h"
class CGUIDialogProgress;
@@ -84,11 +85,11 @@ class ComprDataIO
int UnpackToMemorySize;
// added stuff
- HANDLE hBufferFilled;
- HANDLE hBufferEmpty;
- HANDLE hSeek;
- HANDLE hSeekDone;
- HANDLE hQuit;
+ CEvent* hBufferFilled;
+ CEvent* hBufferEmpty;
+ CEvent* hSeek;
+ CEvent* hSeekDone;
+ CEvent* hQuit;
CGUIDialogProgress* m_pDlgProgress;
bool bQuit;
Int64 m_iSeekTo;