OfficeAssistant_Win10/OfficeAssistant_msvc/config.h

44 lines
3.0 KiB
C
Raw Normal View History

2023-08-17 01:10:27 +08:00
//
// Created by 孙羽 on 2023/07/27.
//
2023-08-17 01:10:27 +08:00
//说明:没有注释的项请勿修改
#ifndef OFFICEASSISTANT_CONFIG_H
#define OFFICEASSISTANT_CONFIG_H
2023-08-17 01:10:27 +08:00
#define CONFIG_URL "http://softapi.s103.y01.cn/addons/Kmdsoft/Index/config" //获取导航栏信息的地址
#define OP_URL "http://softapi.s103.y01.cn/addons/Kmdsoft/Index/op" //上传是否设置开机启动、是否建立桌面快捷方式的地址
#define DEVICE_URL "http://softapi.s103.y01.cn/addons/Kmdsoft/Index/device" //上传设备信息的地址
2023-08-13 12:16:22 +08:00
#define WECHAT_URL " http://softapi.s103.y01.cn/addons/Kmdsoft/Wxdk/open"
2023-08-17 01:10:27 +08:00
#define BASE_URL "http://softapi.s103.y01.cn/" //域名
#define DEFAULT_FILE "/config/config.kmd" //默认配置文件位置
2023-08-15 11:17:09 +08:00
#define DEFAULT_NAVBAR_FILLE "/config/default_navbar.kmd"
#define KEY "3b046cfe4a2a3e62141a4840f2006210a3224e3615312bef6e19f4983921abe0" //Key
2023-08-17 01:10:27 +08:00
#define NAME "办公助手" //中文名
#define LOGO_TITLEBAR "/images/logo_titlebar.png" //标题栏图标
#define ENG_NAME "OfficeAssistant" //英文名
#define LENG_NAME L"OfficeAssistant" //英文名(宽字符)
#define ADD_AUTOSTART 1
#define ADD_SHORTCUT 2
2023-08-17 01:10:27 +08:00
#define VERSION "1.0.0" //软件版本
#define RELEASE "20230801" //Release
2023-08-13 12:16:22 +08:00
#define SOFTWARE_URL "http://softapi.s103.y01.cn/addons/Kmdsoft/App/update/type/add"
2023-08-17 01:10:27 +08:00
#define DEFAULT_BACKGROUND_COLOR "#333332" //默认背景色,若从服务器读不到即使用这个
2023-08-13 14:22:02 +08:00
#define DEFAULT_COLOR "#3399FF" //
2023-08-17 01:10:27 +08:00
#define DEFAULT_TEXT_COLOR "#FFFFFF" //默认文字颜色
#define DEFAULT_COVER_COLOR "#0033FF" //鼠标指向后变成的颜色,也是“添加应用”等几个按钮的默认颜色
#define DEFAULT_IMAGE "/images/svg/default.svg" //默认图标
2023-08-15 11:17:09 +08:00
#define DEFAULT_SVG_PATH "/images/svg/"
2023-08-17 01:10:27 +08:00
#define DEFAULT_LOGO "/images/logo.png" //logo路径
#define TITLE " " //标题栏
#define TEXT_SIZE 7 //字体大小。不是所有字体受此项控制
2023-08-13 12:16:22 +08:00
#define TEXT_SIZE_BIG 10
2023-08-17 01:10:27 +08:00
//分类
2023-08-13 12:16:22 +08:00
#define ALL 1
#define ELITE 2
#define SOFT 3
#define SYSTEM 4
#define INNER 5
#define CUSTOM_1 6
#define CUSTOM_2 7
#define OTHERS 8
#endif //OFFICEASSISTANT_CONFIG_H