diff options
Diffstat (limited to 'CPP/7zip/Compress/Rar2Decoder.h')
-rw-r--r-- | CPP/7zip/Compress/Rar2Decoder.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/CPP/7zip/Compress/Rar2Decoder.h b/CPP/7zip/Compress/Rar2Decoder.h index f42f228..d77bfc1 100644 --- a/CPP/7zip/Compress/Rar2Decoder.h +++ b/CPP/7zip/Compress/Rar2Decoder.h | |||
@@ -2,8 +2,8 @@ | |||
2 | // According to unRAR license, this code may not be used to develop | 2 | // According to unRAR license, this code may not be used to develop |
3 | // a program that creates RAR archives | 3 | // a program that creates RAR archives |
4 | 4 | ||
5 | #ifndef __COMPRESS_RAR2_DECODER_H | 5 | #ifndef ZIP7_INC_COMPRESS_RAR2_DECODER_H |
6 | #define __COMPRESS_RAR2_DECODER_H | 6 | #define ZIP7_INC_COMPRESS_RAR2_DECODER_H |
7 | 7 | ||
8 | #include "../../Common/MyCom.h" | 8 | #include "../../Common/MyCom.h" |
9 | 9 | ||
@@ -112,11 +112,11 @@ typedef NBitm::CDecoder<CInBuffer> CBitDecoder; | |||
112 | 112 | ||
113 | const unsigned kNumHuffmanBits = 15; | 113 | const unsigned kNumHuffmanBits = 15; |
114 | 114 | ||
115 | class CDecoder : | 115 | Z7_CLASS_IMP_NOQIB_2( |
116 | public ICompressCoder, | 116 | CDecoder |
117 | public ICompressSetDecoderProperties2, | 117 | , ICompressCoder |
118 | public CMyUnknownImp | 118 | , ICompressSetDecoderProperties2 |
119 | { | 119 | ) |
120 | CLzOutWindow m_OutWindowStream; | 120 | CLzOutWindow m_OutWindowStream; |
121 | CBitDecoder m_InBitStream; | 121 | CBitDecoder m_InBitStream; |
122 | 122 | ||
@@ -157,14 +157,6 @@ class CDecoder : | |||
157 | 157 | ||
158 | public: | 158 | public: |
159 | CDecoder(); | 159 | CDecoder(); |
160 | |||
161 | MY_UNKNOWN_IMP1(ICompressSetDecoderProperties2) | ||
162 | |||
163 | STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream, | ||
164 | const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress); | ||
165 | |||
166 | STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size); | ||
167 | |||
168 | }; | 160 | }; |
169 | 161 | ||
170 | }} | 162 | }} |