Files
ViewDesignEngine/include/vde/vde_version.h
T
茂之钳 5bfcbcb8e9
CI / Build & Test (push) Failing after 39s
CI / Release Build (push) Failing after 33s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
feat(v1.0.1): tangent_pull + error codes + version + license management
Remaining P3 item:
- tangent_pull: maintain G1 tangency when pulling faces

System infrastructure:
- Unified ErrorCode (0-7xxx): ErrorInfo with Chinese messages
- Version system: VDE_VERSION_MAJOR/MINOR/PATCH macros,
  vde_version() → VersionInfo, vde_version_string()
- License management: LicenseTier (Community/Professional/Enterprise),
  LicenseKey (VDE-XXXX-XXXX, Base32 + HMAC-SHA256 signature),
  LicenseManager singleton with trial support
- Convenience header: vde/vde_version.h

Tests: 43 total (26 license + 17 version)
2026-07-27 21:54:46 +08:00

33 lines
830 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
/**
* @file vde_version.h
* @brief ViewDesignEngine 版本和许可证顶层便捷头文件
*
* 上层应用/用户只需 #include <vde/vde_version.h> 即可获得:
* - ViewDesignEngine 版本信息(版本号、构建信息)
* - 许可证管理(LicenseManager 单例)
* - 功能查询接口(has_feature
*
* 使用示例:
* @code
* #include <vde/vde_version.h>
*
* // 打印版本
* std::cout << vde::core::vde_version_string() << std::endl;
*
* // 设置许可证
* auto& lm = vde::core::LicenseManager::instance();
* lm.set_license("VDE-XXXX-XXXX-XXXX");
*
* // 检查功能
* if (lm.has_feature("CAM_5AXIS")) {
* // 使用5轴CAM功能
* }
* @endcode
*
* @ingroup core
*/
#include "vde/core/version.h"
#include "vde/core/license_manager.h"