misc/libphysfs/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
changeset 12213 bb5522e88ab2
equal deleted inserted replaced
12212:ea891871f481 12213:bb5522e88ab2
       
     1 // CrossThreadProgress.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 
       
     5 #include "CrossThreadProgress.h"
       
     6 
       
     7 STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)
       
     8 {
       
     9   InSize = inSize;
       
    10   OutSize = outSize;
       
    11   ProgressEvent.Set();
       
    12   WaitEvent.Lock();
       
    13   return Result;
       
    14 }
       
    15