]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/filemonitor.h
Add move semantics to Variant
[libs/core.git] / source / fs / filemonitor.h
index 9e72ad2570b05dd9c7d11006ae05962e49edc087..3ce5d79db2dc991ac562e0bb30f44df5cf11dee7 100644 (file)
@@ -1,15 +1,15 @@
 #ifndef FILEMONITOR_H_
 #define FILEMONITOR_H_
 
+#include <msp/core/mspcore_api.h>
 #include <msp/core/noncopyable.h>
 #include <msp/fs/path.h>
 #include <msp/io/eventdispatcher.h>
-#include <msp/io/eventobject.h>
 
 namespace Msp {
 namespace FS {
 
-class FileMonitor: NonCopyable
+class MSPCORE_API FileMonitor: NonCopyable
 {
 private:
        struct Private;
@@ -25,8 +25,8 @@ public:
        sigc::signal<void, const FS::Path &> signal_file_modified;
 
 private:
-       Private *priv = 0;
-       IO::EventDispatcher *event_disp = 0;
+       Private *priv = nullptr;
+       IO::EventDispatcher *event_disp = nullptr;
        std::vector<MonitoredFile> files;
 
 public: