mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-07-30 07:44:13 +02:00
e4b4ba875b
Replaces the QProcess->7z shim with the public-domain LZMA SDK (23.01) 7-Zip reader, vendored under sources/import/edz/lzma/ (decode-only subset). New edzsevenzip.cpp wraps SzArEx_Open/SzArEx_Extract and writes entries via Qt, so EdzArchive no longer needs an external 7-Zip at runtime. Enables the C language in CMake for the vendored sources. Verified: the bundled decoder extracts all three ifm sample .edz and the generated elements still match the Python oracle exactly (byte-correct decode), with no 7z on the path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
298 B
C
21 lines
298 B
C
/* DllSecur.h -- DLL loading for security
|
|
2023-03-03 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef ZIP7_INC_DLL_SECUR_H
|
|
#define ZIP7_INC_DLL_SECUR_H
|
|
|
|
#include "7zTypes.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
#ifdef _WIN32
|
|
|
|
void My_SetDefaultDllDirectories(void);
|
|
void LoadSecurityDlls(void);
|
|
|
|
#endif
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|