mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 16:07:04 -06:00
24 lines
428 B
C++
Executable File
24 lines
428 B
C++
Executable File
// DummyOutStream.h
|
|
|
|
#ifndef __DUMMYOUTSTREAM_H
|
|
#define __DUMMYOUTSTREAM_H
|
|
|
|
#include "../../IStream.h"
|
|
#include "Common/MyCom.h"
|
|
|
|
class CDummyOutStream:
|
|
public ISequentialOutStream,
|
|
public CMyUnknownImp
|
|
{
|
|
public:
|
|
MY_UNKNOWN_IMP
|
|
|
|
STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
|
|
private:
|
|
CMyComPtr<ISequentialOutStream> m_Stream;
|
|
public:
|
|
void Init(ISequentialOutStream *outStream);
|
|
};
|
|
|
|
#endif
|