comparison OrthancFramework/Sources/Lua/LuaFunctionCall.h @ 4105:c02a2d9efbc2

move FromDcmtkBridge::ExecuteToDicom() to LuaFunctionCall, to remove dependency of DCMTK on Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 13:48:10 +0200
parents d25f4c0fa160
children bf7b9edf6b81
comparison
equal deleted inserted replaced
4104:d5c09b5f882f 4105:c02a2d9efbc2
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. 30 * along with this program. If not, see <http://www.gnu.org/licenses/>.
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35
36 #if !defined(ORTHANC_ENABLE_DCMTK)
37 # error The macro ORTHANC_ENABLE_DCMTK must be defined
38 #endif
35 39
36 #include "LuaContext.h" 40 #include "LuaContext.h"
37 41
38 #include "../DicomFormat/DicomArray.h" 42 #include "../DicomFormat/DicomArray.h"
39 #include "../DicomFormat/DicomMap.h" 43 #include "../DicomFormat/DicomMap.h"
87 91
88 void ExecuteToJson(Json::Value& result, 92 void ExecuteToJson(Json::Value& result,
89 bool keepStrings); 93 bool keepStrings);
90 94
91 void ExecuteToString(std::string& result); 95 void ExecuteToString(std::string& result);
96
97 #if ORTHANC_ENABLE_DCMTK == 1
98 void ExecuteToDicom(DicomMap& target);
99 #endif
92 }; 100 };
93 } 101 }