7zdecode.h

来自「7-Zip 3.11的源码」· C头文件 代码 · 共 55 行

H
55
字号
// 7zDecode.h

#pragma once

#ifndef __7Z_DECODE_H
#define __7Z_DECODE_H

#include "../../IStream.h"
#include "../../IPassword.h"

#include "../Common/CoderMixer2.h"
#ifndef EXCLUDE_COM
#include "../Common/CoderLoader.h"
#endif

#include "7zItem.h"

namespace NArchive {
namespace N7z {

struct CBindInfoEx: public NCoderMixer2::CBindInfo
{
  CRecordVector<CMethodID> CoderMethodIDs;
};

class CDecoder
{
  #ifndef EXCLUDE_COM
  CCoderLibraries _libraries;
  #endif

  bool _bindInfoExPrevIsDefinded;
  CBindInfoEx _bindInfoExPrev;
  NCoderMixer2::CCoderMixer2 *_mixerCoderSpec;
  CMyComPtr<ICompressCoder2> _mixerCoder;
  CObjectVector<CMyComPtr<IUnknown> > _decoders;
  // CObjectVector<CMyComPtr<ICompressCoder2> > _decoders2;
public:
  CDecoder();
  HRESULT Decode(IInStream *inStream,
      UINT64 startPos,
      const UINT64 *packSizes,
      const CFolder &folder, 
      ISequentialOutStream *outStream,
      ICompressProgressInfo *compressProgress
      #ifndef _NO_CRYPTO
      , ICryptoGetTextPassword *getTextPasswordSpec
      #endif
      );
};

}}

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?