blob: f7ac96cb98b888ed31d655888234863292de9a76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// 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
|