稳定备份 更新顶盖逻辑

This commit is contained in:
2025-08-31 16:51:18 +08:00
parent aae60af637
commit 22e6be7afb
162 changed files with 4420 additions and 145154 deletions
+3 -6
View File
@@ -8,14 +8,14 @@ class Backend : public IBackend {
public:
//appCore _core;
void test() override { std::cout << "Hello from Backend!" << std::endl; }
void init(qtFuncBridge* bridgeIn, nlohmann::ordered_json& json) override {
void init(SQLiteDB* db,qtFuncBridge* bridgeIn, nlohmann::ordered_json& json) override {
if (initOnce == false) {
cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_ERROR);
_detProcess = new detProcess();
_detProcess = new detProcess(db,json, bridgeIn);
}
_detProcess->init();
bridge = bridgeIn;
emit bridge->loadingWindow_appendLog(u8"核心加载成功,正在初始化",QColor("white"));
_detProcess->initConfig(json, bridgeIn);
_detProcess->start();
}
@@ -25,9 +25,6 @@ public:
~Backend() {
delete _detProcess;
}
SQLiteDB* getDatabase() {
return _detProcess->dataBase;
}
bool excuteCliCommandPreset(const QString& uuid) {
return _detProcess->_cliManager->excutePreset(uuid);
}