blob: 79e63353952de33aa0b5b9bbcb3b90ddef9cc453 (
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
|
// Split/Handler.h
#ifndef __SPLIT_HANDLER_H
#define __SPLIT_HANDLER_H
#include "Common/MyCom.h"
#include "Common/MyString.h"
#include "../IArchive.h"
namespace NArchive {
namespace NSplit {
class CHandler:
public IInArchive,
public IInArchiveGetStream,
// public IOutArchive,
public CMyUnknownImp
{
public:
MY_UNKNOWN_IMP2(IInArchive, IInArchiveGetStream)
INTERFACE_IInArchive(;)
STDMETHOD(GetStream)(UInt32 index, ISequentialInStream **stream);
private:
UString _subName;
UString _name;
CObjectVector<CMyComPtr<IInStream> > _streams;
CRecordVector<UInt64> _sizes;
UInt64 _totalSize;
};
}}
#endif
|