这是一个用来监控本地文件夹变化的服务
w1146869587
2021-11-05 d47914155055418fc8e01791fcca71c9c1efb064
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MBWATCHAPP_H
#define MBWATCHAPP_H
#include <QCoreApplication>
#include "qtservice.h"
 
class CMBWatchApp : public QtService<QCoreApplication>
{
public:
    CMBWatchApp(int argc, char **argv);
    ~CMBWatchApp();
protected:
    virtual void start();
    virtual void stop();
    virtual void pause();
    virtual void resume();
};
 
#endif // MBWATCHAPP_H