Mercurial > hg > orthanc-stone
changeset 801:7efcbae4717e
Added HttpClient init to Stone init
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 28 May 2019 14:15:03 +0200 |
parents | 98a89b116b62 (current diff) 20262f5e5e88 (diff) |
children | f38c1fc08655 |
files | |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/StoneInitialization.cpp Tue May 28 14:14:10 2019 +0200 +++ b/Framework/StoneInitialization.cpp Tue May 28 14:15:03 2019 +0200 @@ -31,6 +31,10 @@ # include "../Applications/Sdl/SdlWindow.h" #endif +#if ORTHANC_ENABLE_CURL == 1 +#include <Core/HttpClient.h> +#endif + namespace OrthancStone { #if ORTHANC_ENABLE_LOGGING_PLUGIN == 1 @@ -48,6 +52,10 @@ #if ORTHANC_ENABLE_SDL == 1 OrthancStone::SdlWindow::GlobalInitialize(); #endif + +#if ORTHANC_ENABLE_CURL == 1 + Orthanc::HttpClient::GlobalInitialize(); +#endif } void StoneFinalize()