other-licenses/7zstub/src/7zip/Archive/7z/7zMethods.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 // 7zMethods.h
michael@0 2
michael@0 3 #ifndef __7Z_METHODS_H
michael@0 4 #define __7Z_METHODS_H
michael@0 5
michael@0 6 #include "7zMethodID.h"
michael@0 7
michael@0 8 namespace NArchive {
michael@0 9 namespace N7z {
michael@0 10
michael@0 11 struct CMethodInfo
michael@0 12 {
michael@0 13 UString Name;
michael@0 14 bool EncoderIsAssigned;
michael@0 15 bool DecoderIsAssigned;
michael@0 16 UInt32 NumInStreams;
michael@0 17 UInt32 NumOutStreams;
michael@0 18 CLSID Encoder;
michael@0 19 CLSID Decoder;
michael@0 20 // UString Description;
michael@0 21 CSysString FilePath;
michael@0 22 };
michael@0 23
michael@0 24 struct CMethodInfo2: public CMethodInfo
michael@0 25 {
michael@0 26 CMethodID MethodID;
michael@0 27 };
michael@0 28
michael@0 29 void LoadMethodMap();
michael@0 30 bool GetMethodInfo(const CMethodID &methodID, CMethodInfo &methodInfo);
michael@0 31 bool GetMethodInfo(const UString &name, CMethodInfo2 &methodInfo);
michael@0 32
michael@0 33 }}
michael@0 34
michael@0 35 #endif
michael@0 36

mercurial