mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
feat(ui): 统一管理IUP控件名称常量,增强可维护性
refactor(core): 移除未使用的get_app_context函数 refactor(os_env): 修改backup_registry函数以返回错误码并备份到指定目录 refactor(path_manager): 增强路径管理函数的错误处理
This commit is contained in:
@@ -11,7 +11,8 @@ typedef enum {
|
||||
ERR_INVALID_FORMAT = -6, // 无效格式
|
||||
ERR_REGISTRY_FAILED = -7, // 注册表操作失败
|
||||
ERR_NOT_FOUND = -8, // 未找到
|
||||
ERR_EXISTS = -9 // 已存在
|
||||
ERR_EXISTS = -9, // 已存在
|
||||
ERR_INVALID_INDEX = -10 // 无效索引
|
||||
} ErrorCode;
|
||||
|
||||
const char* error_code_to_string(ErrorCode code);
|
||||
|
||||
Reference in New Issue
Block a user