32 lines
523 B
C
32 lines
523 B
C
|
// IsoHandler.h
|
||
|
|
||
|
#ifndef __ISO_HANDLER_H
|
||
|
#define __ISO_HANDLER_H
|
||
|
|
||
|
#include "../../../Common/MyCom.h"
|
||
|
|
||
|
#include "../IArchive.h"
|
||
|
|
||
|
#include "IsoIn.h"
|
||
|
#include "IsoItem.h"
|
||
|
|
||
|
namespace NArchive {
|
||
|
namespace NIso {
|
||
|
|
||
|
class CHandler:
|
||
|
public IInArchive,
|
||
|
public IInArchiveGetStream,
|
||
|
public CMyUnknownImp
|
||
|
{
|
||
|
CMyComPtr<IInStream> _stream;
|
||
|
CInArchive _archive;
|
||
|
public:
|
||
|
MY_UNKNOWN_IMP2(IInArchive, IInArchiveGetStream)
|
||
|
INTERFACE_IInArchive(;)
|
||
|
STDMETHOD(GetStream)(UInt32 index, ISequentialInStream **stream);
|
||
|
};
|
||
|
|
||
|
}}
|
||
|
|
||
|
#endif
|