Mercurial > hg > orthanc-tcia
changeset 1:fe5f86967c77
fix lsb build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Aug 2021 13:27:57 +0200 |
parents | 2464bacb730b |
children | cb0ace7b4994 |
files | Plugin/Plugin.cpp |
diffstat | 1 files changed, 20 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Fri Aug 27 13:09:45 2021 +0200 +++ b/Plugin/Plugin.cpp Fri Aug 27 13:27:57 2021 +0200 @@ -63,9 +63,9 @@ -static void TciaHttpProxy(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void TciaHttpProxy(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Get) { @@ -138,9 +138,9 @@ } -static void TciaImport(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void TciaImport(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Post) { @@ -189,9 +189,9 @@ } -static void ServeHtml(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void ServeHtml(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Get) { @@ -204,7 +204,7 @@ #if ORTHANC_STANDALONE == 1 Orthanc::EmbeddedResources::GetFileResource(s, Orthanc::EmbeddedResources::TCIA_HTML); #else - Orthanc::SystemToolbox::ReadFile(s, std::string(PLUGIN_SOURCE_DIR) + "/WebApplication/index.html"); + Orthanc::SystemToolbox::ReadFile(s, std::string(TCIA_SOURCE_DIR) + "/WebApplication/index.html"); #endif OrthancPluginAnswerBuffer(OrthancPlugins::GetGlobalContext(), output, @@ -213,9 +213,9 @@ } -static void ServeJavaScript(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void ServeJavaScript(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Get) { @@ -228,7 +228,7 @@ #if ORTHANC_STANDALONE == 1 Orthanc::EmbeddedResources::GetFileResource(s, Orthanc::EmbeddedResources::TCIA_JS); #else - Orthanc::SystemToolbox::ReadFile(s, std::string(PLUGIN_SOURCE_DIR) + "/WebApplication/app.js"); + Orthanc::SystemToolbox::ReadFile(s, std::string(TCIA_SOURCE_DIR) + "/WebApplication/app.js"); #endif OrthancPluginAnswerBuffer(OrthancPlugins::GetGlobalContext(), output, @@ -237,9 +237,9 @@ } -static void ClearCache(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void ClearCache(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Post) { @@ -256,9 +256,9 @@ template <enum Orthanc::EmbeddedResources::FileResourceId resource, enum Orthanc::MimeType mime> -static void ServeEmbeddedResource(OrthancPluginRestOutput* output, - const char* url, - const OrthancPluginHttpRequest* request) +void ServeEmbeddedResource(OrthancPluginRestOutput* output, + const char* url, + const OrthancPluginHttpRequest* request) { if (request->method != OrthancPluginHttpMethod_Get) {