mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
20 lines
309 B
C
20 lines
309 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
class QFileSystemWatcher;
|
||
|
|
||
|
class DirectoriesWatcher : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit DirectoriesWatcher(QObject *parent = nullptr);
|
||
|
void addPaths(const QStringList &paths);
|
||
|
|
||
|
signals:
|
||
|
void changed();
|
||
|
|
||
|
private:
|
||
|
QFileSystemWatcher* fsWatcher;
|
||
|
};
|