3 #ifndef __7Z_COMPRESSION_MODE_H
4 #define __7Z_COMPRESSION_MODE_H
6 #include "../../../Common/MyString.h"
8 #include "../../../Windows/PropVariant.h"
10 #include "../../Common/MethodProps.h"
15 struct CMethodFull: public CMethod
19 bool IsSimpleCoder() const { return (NumInStreams == 1) && (NumOutStreams == 1); }
30 struct CCompressionMethodMode
32 CObjectVector<CMethodFull> Methods;
33 CRecordVector<CBind> Binds;
37 bool PasswordIsDefined;
40 bool IsEmpty() const { return (Methods.IsEmpty() && !PasswordIsDefined); }
41 CCompressionMethodMode(): PasswordIsDefined(false)