2021-10-19 21:27:23 +01:00
|
|
|
// XzEncoder.h
|
|
|
|
|
|
2023-09-24 03:13:03 +01:00
|
|
|
#ifndef ZIP7_INC_XZ_ENCODER_H
|
|
|
|
|
#define ZIP7_INC_XZ_ENCODER_H
|
2021-10-19 21:27:23 +01:00
|
|
|
|
|
|
|
|
#include "../../../C/XzEnc.h"
|
|
|
|
|
|
|
|
|
|
#include "../../Common/MyCom.h"
|
|
|
|
|
|
|
|
|
|
#include "../ICoder.h"
|
|
|
|
|
|
|
|
|
|
namespace NCompress {
|
|
|
|
|
namespace NXz {
|
|
|
|
|
|
2023-09-24 03:13:03 +01:00
|
|
|
Z7_CLASS_IMP_COM_3(
|
|
|
|
|
CEncoder
|
|
|
|
|
, ICompressCoder
|
|
|
|
|
, ICompressSetCoderProperties
|
|
|
|
|
, ICompressSetCoderPropertiesOpt
|
|
|
|
|
)
|
2021-10-19 21:27:23 +01:00
|
|
|
CXzEncHandle _encoder;
|
|
|
|
|
public:
|
|
|
|
|
CXzProps xzProps;
|
|
|
|
|
|
|
|
|
|
void InitCoderProps();
|
|
|
|
|
HRESULT SetCheckSize(UInt32 checkSizeInBytes);
|
|
|
|
|
HRESULT SetCoderProp(PROPID propID, const PROPVARIANT &prop);
|
|
|
|
|
|
|
|
|
|
CEncoder();
|
2023-09-24 03:13:03 +01:00
|
|
|
~CEncoder();
|
2021-10-19 21:27:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
|
|
#endif
|