38 lines
515 B
C++
38 lines
515 B
C++
// CabHandler.h
|
|
|
|
#ifndef __CAB_HANDLER_H
|
|
#define __CAB_HANDLER_H
|
|
|
|
#include "../../../Common/MyCom.h"
|
|
|
|
#include "../IArchive.h"
|
|
|
|
#include "CabIn.h"
|
|
|
|
namespace NArchive {
|
|
namespace NCab {
|
|
|
|
class CHandler:
|
|
public IInArchive,
|
|
public CMyUnknownImp
|
|
{
|
|
public:
|
|
MY_UNKNOWN_IMP1(IInArchive)
|
|
|
|
INTERFACE_IInArchive(;)
|
|
|
|
private:
|
|
CMvDatabaseEx m_Database;
|
|
UString _errorMessage;
|
|
bool _isArc;
|
|
bool _errorInHeaders;
|
|
bool _unexpectedEnd;
|
|
// int _mainVolIndex;
|
|
UInt32 _phySize;
|
|
UInt64 _offset;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|