diff options
author | chai <chaifix@163.com> | 2021-10-30 11:32:16 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-30 11:32:16 +0800 |
commit | 42ec7286b2d36a9ba22925f816a17cb1cc2aa5ce (patch) | |
tree | 24bc7009457a8d7500f264e89946dc20d069294f /Editor/FileSystem | |
parent | 164885fd98d48703bd771f802d79557b7db97431 (diff) |
+ Penlight
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 |