这是一个用来监控本地文件夹变化的服务
w1146869587
2021-11-09 f5e3a3a6785cd9305c476eadf329c8ae00161add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef MBWATCHMGR_H
#define MBWATCHMGR_H
#include "mbwatchconst.h"
#include "mbwatchuserdb.h"
#include "mbtaskmgr.h"
#include "mbmdware.h"
 
class CMBWatchMgr
{
public:
    CMBWatchMgr();
    ~CMBWatchMgr();
private:
    CMBWatchConst   *m_pConst;
private:
    CMBWatchUserDb   *m_pUserDb;
    CMBWatchUserMgr  *m_pUserMgr;
private:
    CMBTaskMgr       *m_pTaskMgr;
    CMBMdware        *m_pMdWare;
public:
    CMBWatchConst    *getConst();
    CMBWatchUserMgr  *getUserMgr();
    CMBTaskMgr       *getTaskMgr();
    CMBMdware        *getMdWare();
public:
    bool           init(QString &errInfo);
public:
    bool           stop();
};
 
#endif // MBWATCHMGR_H