mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
8981b8615a
Closes: #7975
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;
|
|
};
|