summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-11 08:10:25 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-11 08:10:25 +0100
commit6a23c2f3b766cf4fc7028628f76b5ff9396383f0 (patch)
treea01e16637118ae0c80f337119898bdf18f081e24 /3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
parent45ac9b351e0076c371de4c7453f59567b27b1cb6 (diff)
Added full lzma sdk source (nw)
Diffstat (limited to '3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp')
-rw-r--r--3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp b/3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
new file mode 100644
index 00000000000..a974b54c7e6
--- /dev/null
+++ b/3rdparty/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
@@ -0,0 +1,15 @@
+// CrossThreadProgress.cpp
+
+#include "StdAfx.h"
+
+#include "CrossThreadProgress.h"
+
+STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)
+{
+ InSize = inSize;
+ OutSize = outSize;
+ ProgressEvent.Set();
+ WaitEvent.Lock();
+ return Result;
+}
+