xref: /third_party/lzma/CPP/7zip/Compress/BranchMisc.h (revision 370b324c)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/lzma/CPP/7zip/Compress/
1// BranchMisc.h
2
3#ifndef ZIP7_INC_COMPRESS_BRANCH_MISC_H
4#define ZIP7_INC_COMPRESS_BRANCH_MISC_H
5#include "../../../C/Bra.h"
6
7#include "../../Common/MyCom.h"
8
9#include "../ICoder.h"
10
11namespace NCompress {
12namespace NBranch {
13
14Z7_CLASS_IMP_COM_1(
15  CCoder
16  , ICompressFilter
17)
18  UInt32 _pc;
19  z7_Func_BranchConv BraFunc;
20public:
21  CCoder(z7_Func_BranchConv bra): _pc(0), BraFunc(bra) {}
22};
23
24namespace NArm64 {
25
26#ifndef Z7_EXTRACT_ONLY
27
28Z7_CLASS_IMP_COM_3(
29  CEncoder
30  , ICompressFilter
31  , ICompressSetCoderProperties
32  , ICompressWriteCoderProperties
33)
34  UInt32 _pc;
35  UInt32 _pc_Init;
36public:
37  CEncoder(): _pc(0), _pc_Init(0) {}
38};
39
40#endif
41
42Z7_CLASS_IMP_COM_2(
43  CDecoder
44  , ICompressFilter
45  , ICompressSetDecoderProperties2
46)
47  UInt32 _pc;
48  UInt32 _pc_Init;
49public:
50  CDecoder(): _pc(0), _pc_Init(0) {}
51};
52
53}
54
55}}
56
57#endif
58

Indexes created Thu Nov 07 10:32:03 CST 2024