mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 08:07:19 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
25
CPP/7zip/Archive/Nsis/NsisHandler.h
Executable file → Normal file
25
CPP/7zip/Archive/Nsis/NsisHandler.h
Executable file → Normal file
@@ -3,39 +3,32 @@
|
||||
#ifndef __NSIS_HANDLER_H
|
||||
#define __NSIS_HANDLER_H
|
||||
|
||||
#include "Common/MyCom.h"
|
||||
#include "../../../Common/MyCom.h"
|
||||
|
||||
#include "../../Common/CreateCoder.h"
|
||||
|
||||
#include "../IArchive.h"
|
||||
|
||||
#include "NsisIn.h"
|
||||
|
||||
#include "../../Common/CreateCoder.h"
|
||||
|
||||
namespace NArchive {
|
||||
namespace NNsis {
|
||||
|
||||
class CHandler:
|
||||
public IInArchive,
|
||||
PUBLIC_ISetCompressCodecsInfo
|
||||
public CMyUnknownImp
|
||||
{
|
||||
CMyComPtr<IInStream> _inStream;
|
||||
CInArchive _archive;
|
||||
AString _methodString;
|
||||
|
||||
DECL_EXTERNAL_CODECS_VARS
|
||||
bool GetUncompressedSize(unsigned index, UInt32 &size) const;
|
||||
bool GetCompressedSize(unsigned index, UInt32 &size) const;
|
||||
|
||||
bool GetUncompressedSize(int index, UInt32 &size);
|
||||
bool GetCompressedSize(int index, UInt32 &size);
|
||||
|
||||
AString GetMethod(bool useItemFilter, UInt32 dictionary) const;
|
||||
// AString GetMethod(NMethodType::EEnum method, bool useItemFilter, UInt32 dictionary) const;
|
||||
public:
|
||||
MY_QUERYINTERFACE_BEGIN2(IInArchive)
|
||||
QUERY_ENTRY_ISetCompressCodecsInfo
|
||||
MY_QUERYINTERFACE_END
|
||||
MY_ADDREF_RELEASE
|
||||
MY_UNKNOWN_IMP1(IInArchive)
|
||||
|
||||
INTERFACE_IInArchive(;)
|
||||
|
||||
DECL_ISetCompressCodecsInfo
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user