Mercurial > hg > orthanc
diff Core/Lua/LuaContext.h @ 4031:e3b3af80732d
ServerResources, and moving EmbeddedResourceHttpHandler from Core to OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jun 2020 21:31:13 +0200 |
parents | 100fbe970762 |
children |
line wrap: on
line diff
--- a/Core/Lua/LuaContext.h Tue Jun 09 20:50:20 2020 +0200 +++ b/Core/Lua/LuaContext.h Tue Jun 09 21:31:13 2020 +0200 @@ -40,10 +40,6 @@ # error The macro ORTHANC_ENABLE_LUA must be defined #endif -#if !defined(ORTHANC_HAS_EMBEDDED_RESOURCES) -# error Macro ORTHANC_HAS_EMBEDDED_RESOURCES must be defined -#endif - #if !defined(ORTHANC_ENABLE_CURL) # error Macro ORTHANC_ENABLE_CURL must be defined #endif @@ -52,10 +48,6 @@ # error The Lua support is disabled, cannot include this file #endif -#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 -# include <OrthancEmbeddedResources.h> // Autogenerated file -#endif - #if ORTHANC_ENABLE_CURL == 1 # include "../HttpClient.h" #endif @@ -127,10 +119,6 @@ void Execute(Json::Value& output, const std::string& command); -#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 - void Execute(EmbeddedResources::FileResourceId resource); -#endif - bool IsExistingFunction(const char* name); #if ORTHANC_ENABLE_CURL == 1