other-licenses/7zstub/src/7zip/IProgress.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 // Interface/IProgress.h
     3 #ifndef __IPROGRESS_H
     4 #define __IPROGRESS_H
     6 #include "../Common/MyUnknown.h"
     7 #include "../Common/Types.h"
     9 // {23170F69-40C1-278A-0000-000000050000}
    10 DEFINE_GUID(IID_IProgress, 
    11 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00);
    12 MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050000")
    13 IProgress: public IUnknown
    14 {
    15   STDMETHOD(SetTotal)(UInt64 total) PURE;
    16   STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
    17 };
    19 /*
    20 // {23170F69-40C1-278A-0000-000000050002}
    21 DEFINE_GUID(IID_IProgress2, 
    22 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02);
    23 MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050002")
    24 IProgress2: public IUnknown
    25 {
    26 public:
    27   STDMETHOD(SetTotal)(const UInt64 *total) PURE;
    28   STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
    29 };
    30 */
    32 #endif

mercurial