From: Mikko Rasa Date: Wed, 25 Sep 2019 20:42:08 +0000 (+0300) Subject: Add FileMonitor stubs for Windows X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=commitdiff_plain;h=7be37ad97a2fd3494cb5d56badb45997353ff709;ds=sidebyside Add FileMonitor stubs for Windows --- diff --git a/source/fs/windows/filemonitor.cpp b/source/fs/windows/filemonitor.cpp new file mode 100644 index 0000000..3ed65b1 --- /dev/null +++ b/source/fs/windows/filemonitor.cpp @@ -0,0 +1,28 @@ +#include "filemonitor.h" +#include "filemonitor_platform.h" + +using namespace std; + +namespace Msp { +namespace FS { + +void FileMonitor::platform_use_event_dispatcher() +{ } + +void FileMonitor::prepare_file(MonitoredFile &) +{ } + +void FileMonitor::cleanup_file(MonitoredFile &) +{ } + +void FileMonitor::tick() +{ } + + +FileMonitor::Private::Private(FileMonitor &) +{ + throw logic_error("not implemented"); +} + +} // namespace FS +} // namespace Msp diff --git a/source/fs/windows/filemonitor_platform.h b/source/fs/windows/filemonitor_platform.h new file mode 100644 index 0000000..392ec4b --- /dev/null +++ b/source/fs/windows/filemonitor_platform.h @@ -0,0 +1,15 @@ +#ifndef MSP_FS_FILEMONITOR_PLATFORM_H_ +#define MSP_FS_FILEMONITOR_PLATFORM_H_ + +namespace Msp { +namespace FS { + +struct FileMonitor::Private +{ + Private(FileMonitor &); +}; + +} // namespace FS +} // namespace Msp + +#endif