#pragma once #include "Common.h" #include "IThreaded.h" #include #include #include class TLuaEngine; class TPluginMonitor : IThreaded, public std::enable_shared_from_this { public: TPluginMonitor(const fs::path& Path, std::shared_ptr Engine); void operator()(); private: std::shared_ptr mEngine; fs::path mPath; std::unordered_map mFileTimes; };