--- a/FileMonitor.h Sat Dec 02 19:33:31 2023 +0100
+++ b/FileMonitor.h Sat Dec 02 21:25:02 2023 +0100
@@ -24,13 +24,13 @@
class WatchedFile {
public:
- class Impl;
WatchedFile();
virtual ~WatchedFile();
std::string getFileName() const;
uint32_t getMask() const;
FileMonitor getFileMonitor() const;
private:
+ class Impl;
std::shared_ptr<Impl> impl;
friend FileMonitor;
};
@@ -44,7 +44,6 @@
class FileMonitor {
public:
- class Impl;
FileMonitor();
virtual ~FileMonitor();
/**
@@ -64,6 +63,7 @@
*/
bool readEvent(FileEvent& event);
private:
+ class Impl;
std::shared_ptr<Impl> impl;
FileMonitor(std::shared_ptr<Impl> impl);
friend WatchedFile;