From f5e3a3a6785cd9305c476eadf329c8ae00161add Mon Sep 17 00:00:00 2001
From: w1146869587 <wah1146869587@126.com>
Date: 星期二, 09 十一月 2021 17:24:14 +0800
Subject: [PATCH] watch db
---
mbwatch/mbtasklog.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/mbwatch/mbtasklog.h b/mbwatch/mbtasklog.h
index 940444e..d078585 100644
--- a/mbwatch/mbtasklog.h
+++ b/mbwatch/mbtasklog.h
@@ -4,6 +4,8 @@
#include <QRunnable>
#include <QWaitCondition>
#include <QMutex>
+#include "mbwatchdb.h"
+#include "mbmdware.h"
/************************************************************************/
/* 鏃ュ織浠诲姟锛岀敤鏉ヨ褰曞浠界洰褰曚笅鐨勬枃浠跺彉鍖� */
@@ -14,6 +16,20 @@
public:
CMBTaskLog();
~CMBTaskLog();
+private:
+ QString m_logDbPath;
+ QString m_backupDir;
+ QString m_svrPath;
+private:
+ CMBWatchDb *m_pWatchDb;
+private:
+ CMBMdware *m_pMdWare;
+public:
+ void setMdWare(CMBMdware *pMdWare);
+public:
+ void set(QString logDbPath, QString backupDir, QString svrPath);
+private:
+ bool findFile(const QString &path,QString &errInfo);
public:
virtual void run();
};
--
Gitblit v1.9.1