Mercurial > hg > orthanc
comparison OrthancServer/QueryRetrieveHandler.cpp @ 2612:6f9225dcfc32 jobs
renames
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 May 2018 08:59:04 +0200 |
parents | 5e2730c8e23c |
children | 2f3007bf0708 |
comparison
equal
deleted
inserted
replaced
2611:af7ea91dd4d5 | 2612:6f9225dcfc32 |
---|---|
44 ServerContext& context, | 44 ServerContext& context, |
45 const std::string& modality) | 45 const std::string& modality) |
46 { | 46 { |
47 static const char* LUA_CALLBACK = "OutgoingFindRequestFilter"; | 47 static const char* LUA_CALLBACK = "OutgoingFindRequestFilter"; |
48 | 48 |
49 LuaScripting::Locker locker(context.GetLua()); | 49 LuaScripting::Locker locker(context.GetLuaScripting()); |
50 if (locker.GetLua().IsExistingFunction(LUA_CALLBACK)) | 50 if (locker.GetLua().IsExistingFunction(LUA_CALLBACK)) |
51 { | 51 { |
52 LuaFunctionCall call(locker.GetLua(), LUA_CALLBACK); | 52 LuaFunctionCall call(locker.GetLua(), LUA_CALLBACK); |
53 call.PushDicom(query); | 53 call.PushDicom(query); |
54 call.PushJson(modality); | 54 call.PushJson(modality); |