mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-08-22 20:32:20 +08:00
WebEngineView 中添加 WebEngineView::present(std::unique_ptr<QWebEngineNotification> &newNotification) 函数,通过 DNotifySender 转发系统通知 Log: 添加网页通知功能,通知图片缓存在 /tmp 下;使用 DLogManager 生成日志;修复强制使用 DTK 平台插件异常问题
24 lines
572 B
C
24 lines
572 B
C
#ifndef GLOBALDEFINE_H
|
|
#define GLOBALDEFINE_H
|
|
|
|
#include <QObject>
|
|
|
|
#define DEFAULT_TITLE QObject::tr("SparkWebAppRuntime")
|
|
#define APPLICATION_NAME QString("spark-webapp-runtime")
|
|
#define ORGANIZATION_NAME QString("spark-union")
|
|
#define DEFAULT_URL QString("qrc:/help/help.html")
|
|
#define DEFAULT_WIDTH (1024)
|
|
#define DEFAULT_HEIGHT (768)
|
|
|
|
#define DEFAULT_ICON QString()
|
|
#define DEFAULT_DESC QString()
|
|
#define DEFAULT_CFG QString()
|
|
|
|
#define DEFAULT_ROOT QString()
|
|
#define DEFAULT_PORT 0
|
|
#define DEFAULT_GPU 1
|
|
|
|
#define CURRENT_VER QString("1.7.0")
|
|
|
|
#endif // GLOBALDEFINE_H
|