Mercurial > hg > orthanc
diff OrthancServer/LuaScripting.h @ 2675:3fc310ceb6d4 jobs
lua callbacks for jobs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 Jun 2018 20:26:24 +0200 |
parents | 1da5a052c777 |
children | 3a55b77339ff |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.h Mon Jun 11 16:30:13 2018 +0200 +++ b/OrthancServer/LuaScripting.h Mon Jun 11 20:26:24 2018 +0200 @@ -58,6 +58,7 @@ class IEvent; class OnStoredInstanceEvent; class StableResourceEvent; + class JobEvent; static ServerContext* GetServerContext(lua_State *state); @@ -127,5 +128,11 @@ void Execute(const std::string& command); void LoadGlobalConfiguration(); + + void SignalJobSubmitted(const std::string& jobId); + + void SignalJobSuccess(const std::string& jobId); + + void SignalJobFailure(const std::string& jobId); }; }