diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2016-05-10 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:59 +0300 |
commit | 66ac98bb02ac0fadd2a0e3266ea39279984580a3 (patch) | |
tree | c14c790212474e8b51df443d686b202cfe6b2315 /CPP/7zip/Archive/XzHandler.cpp | |
parent | c20d013055085bf49b4c93b2c617030b10c1fb4d (diff) |
16.0016.00
Diffstat (limited to 'CPP/7zip/Archive/XzHandler.cpp')
-rw-r--r-- | CPP/7zip/Archive/XzHandler.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/XzHandler.cpp b/CPP/7zip/Archive/XzHandler.cpp index 11f4b444..318be190 100644 --- a/CPP/7zip/Archive/XzHandler.cpp +++ b/CPP/7zip/Archive/XzHandler.cpp @@ -10,6 +10,8 @@ #include "../../Common/Defs.h" #include "../../Common/IntToString.h" +#include "../../Windows/PropVariant.h" + #include "../ICoder.h" #include "../Common/CWrappers.h" @@ -21,7 +23,9 @@ #include "IArchive.h" +#ifndef EXTRACT_ONLY #include "Common/HandlerOut.h" +#endif #include "XzHandler.h" @@ -83,14 +87,19 @@ class CHandler: CMyComPtr<IInStream> _stream; CMyComPtr<ISequentialInStream> _seqStream; - UInt32 _filterId; AString _methodsString; + #ifndef EXTRACT_ONLY + + UInt32 _filterId; + void Init() { _filterId = 0; CMultiMethodProps::Init(); } + + #endif HRESULT Open2(IInStream *inStream, /* UInt32 flags, */ IArchiveOpenCallback *callback); @@ -126,9 +135,12 @@ public: CHandler::CHandler() { + #ifndef EXTRACT_ONLY Init(); + #endif } + static const Byte kProps[] = { kpidSize, |