mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 12:07:12 -06:00
47 lines
794 B
C
Executable File
47 lines
794 B
C
Executable File
// CWrappers.h
|
|
|
|
#ifndef __C_WRAPPERS_H
|
|
#define __C_WRAPPERS_H
|
|
|
|
#include "../../../C/Types.h"
|
|
|
|
#include "../ICoder.h"
|
|
#include "../../Common/MyCom.h"
|
|
|
|
struct CCompressProgressWrap
|
|
{
|
|
ICompressProgress p;
|
|
ICompressProgressInfo *Progress;
|
|
HRESULT Res;
|
|
CCompressProgressWrap(ICompressProgressInfo *progress);
|
|
};
|
|
|
|
struct CSeqInStreamWrap
|
|
{
|
|
ISeqInStream p;
|
|
ISequentialInStream *Stream;
|
|
HRESULT Res;
|
|
CSeqInStreamWrap(ISequentialInStream *stream);
|
|
};
|
|
|
|
struct CSeekInStreamWrap
|
|
{
|
|
ISeekInStream p;
|
|
IInStream *Stream;
|
|
HRESULT Res;
|
|
CSeekInStreamWrap(IInStream *stream);
|
|
};
|
|
|
|
struct CSeqOutStreamWrap
|
|
{
|
|
ISeqOutStream p;
|
|
ISequentialOutStream *Stream;
|
|
HRESULT Res;
|
|
UInt64 Processed;
|
|
CSeqOutStreamWrap(ISequentialOutStream *stream);
|
|
};
|
|
|
|
HRESULT SResToHRESULT(SRes res);
|
|
|
|
#endif
|