18#ifndef SCRIPT_RELOADER_H
19#define SCRIPT_RELOADER_H
24#include <boost/filesystem/path.hpp>
72 static std::shared_ptr<ModuleReference> AcquireModuleReferenceOfContext(
73 std::string
const& context);
79#define sScriptReloadMgr ScriptReloadMgr::instance()
virtual char const * GetScriptModule() const =0
Returns the name of the referenced script module.
virtual ~ModuleReference()
virtual boost::filesystem::path const & GetModulePath() const =0
Returns the path to the script module.
virtual char const * GetScriptModuleRevisionHash() const =0
Returns the git revision hash of the referenced script module.
virtual void Unload()
Unloads the ScriptReloadMgr.
virtual void Initialize()
Initializes the ScriptReloadMgr.
virtual ~ScriptReloadMgr()