Files
Aaru.Compression.Native/3rdparty/lzma/CPP/7zip/Compress/BranchMisc.h

58 lines
829 B
C
Raw Normal View History

2021-10-19 21:27:23 +01:00
// BranchMisc.h
2023-09-24 03:13:03 +01:00
#ifndef ZIP7_INC_COMPRESS_BRANCH_MISC_H
#define ZIP7_INC_COMPRESS_BRANCH_MISC_H
#include "../../../C/Bra.h"
2021-10-19 21:27:23 +01:00
#include "../../Common/MyCom.h"
#include "../ICoder.h"
2023-09-24 03:13:03 +01:00
namespace NCompress {
namespace NBranch {
2021-10-19 21:27:23 +01:00
2023-09-24 03:13:03 +01:00
Z7_CLASS_IMP_COM_1(
CCoder
, ICompressFilter
)
UInt32 _pc;
z7_Func_BranchConv BraFunc;
public:
CCoder(z7_Func_BranchConv bra): _pc(0), BraFunc(bra) {}
};
2021-10-19 21:27:23 +01:00
2023-09-24 03:13:03 +01:00
namespace NArm64 {
2021-10-19 21:27:23 +01:00
2023-09-24 03:13:03 +01:00
#ifndef Z7_EXTRACT_ONLY
2021-10-19 21:27:23 +01:00
2023-09-24 03:13:03 +01:00
Z7_CLASS_IMP_COM_3(
CEncoder
, ICompressFilter
, ICompressSetCoderProperties
, ICompressWriteCoderProperties
)
UInt32 _pc;
UInt32 _pc_Init;
2021-10-19 21:27:23 +01:00
public:
2023-09-24 03:13:03 +01:00
CEncoder(): _pc(0), _pc_Init(0) {}
};
#endif
2021-10-19 21:27:23 +01:00
2023-09-24 03:13:03 +01:00
Z7_CLASS_IMP_COM_2(
CDecoder
, ICompressFilter
, ICompressSetDecoderProperties2
)
UInt32 _pc;
UInt32 _pc_Init;
public:
CDecoder(): _pc(0), _pc_Init(0) {}
2021-10-19 21:27:23 +01:00
};
2023-09-24 03:13:03 +01:00
}
2021-10-19 21:27:23 +01:00
}}
#endif