1 Star 0 Fork 10

李德成/kylin-calculator

forked from openKylin/kylin-calculator 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
data_warehouse.h 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* Copyright (C) 2023 KylinSoft Co., Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef __DATA_WAREHOUSE_H__
#define __DATA_WAREHOUSE_H__
#include <QString>
class DataWarehouse
{
public:
static DataWarehouse* getInstance(void);
~DataWarehouse();
enum StartMode {
MODE_MAIN = 0, // 程序从正常入口启动
MODE_PLUG = 1, // 程序从小插件启动
MODE_PLUG_AGAIN,
};
/* 运行平台 */
/* 990 , 9a0 , v100 , v101 , inter , xc-tablet*/
QString platform;
/* 启动是否为 intel 小插件方式 , 该变量标识两种状态 ,0 ---> 正常方式启动 , 1 ---> 小插件启动 */
StartMode intelPlug;
/* intel 模式标识 , true ---> 平板 , false ---> 正常模式 */
bool intelMode;
/* 输入最大限度 */
int maxInputNum;
/* 透明度 */
double transparency;
protected:
private:
DataWarehouse();
void getPlatForm(void);
void init(void);
};
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kylidecheng/kylin-calculator.git
git@gitee.com:kylidecheng/kylin-calculator.git
kylidecheng
kylin-calculator
kylin-calculator
openkylin/nile

搜索帮助