diff options
Diffstat (limited to 'Editor/FileSystem')
-rw-r--r-- | Editor/FileSystem/FileWatcher.cpp | 3 | ||||
-rw-r--r-- | Editor/FileSystem/FileWatcher.h | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Editor/FileSystem/FileWatcher.cpp b/Editor/FileSystem/FileWatcher.cpp new file mode 100644 index 0000000..443e0ac --- /dev/null +++ b/Editor/FileSystem/FileWatcher.cpp @@ -0,0 +1,3 @@ +#include "FileWatcher.h" + + diff --git a/Editor/FileSystem/FileWatcher.h b/Editor/FileSystem/FileWatcher.h new file mode 100644 index 0000000..528fbe5 --- /dev/null +++ b/Editor/FileSystem/FileWatcher.h @@ -0,0 +1,16 @@ +#pragma once + +#include <string> +#include "Runtime/Threading/Thread.h" + +// 检查某个指定文件夹中的文件或子文件夹是否被变动过。 +class FileWatcher : public Thread +{ +public: + + +private: + std::string m_WorkingDirectory; + + +};
\ No newline at end of file |