diff options
author | chai <chaifix@163.com> | 2021-10-29 18:48:10 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 18:48:10 +0800 |
commit | 2381fe08be1a0c99d9541761b85064b8ece3f253 (patch) | |
tree | 5f04464b7c2ebf3d718b61e959d23f903dd4c6b0 /Runtime/FileSystem | |
parent | 796b4b05ec62eb5d58a634854998f485072e8a2b (diff) |
+md5
Diffstat (limited to 'Runtime/FileSystem')
-rw-r--r-- | Runtime/FileSystem/FileWatcher.cpp | 3 | ||||
-rw-r--r-- | Runtime/FileSystem/FileWatcher.h | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Runtime/FileSystem/FileWatcher.cpp b/Runtime/FileSystem/FileWatcher.cpp new file mode 100644 index 0000000..7095253 --- /dev/null +++ b/Runtime/FileSystem/FileWatcher.cpp @@ -0,0 +1,3 @@ +#include "FileWatcher.h"
+
+
diff --git a/Runtime/FileSystem/FileWatcher.h b/Runtime/FileSystem/FileWatcher.h new file mode 100644 index 0000000..4626c0a --- /dev/null +++ b/Runtime/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 |