diff Framework/Applications/IBasicApplication.cpp @ 31:9aace933cb64

sharing code with the Orthanc core
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Dec 2016 15:41:20 +0100
parents ff1e935768e7
children 7207a407bcd8
line wrap: on
line diff
--- a/Framework/Applications/IBasicApplication.cpp	Wed Dec 14 17:05:41 2016 +0100
+++ b/Framework/Applications/IBasicApplication.cpp	Fri Dec 16 15:41:20 2016 +0100
@@ -34,7 +34,7 @@
 
 #include "../../Resources/Orthanc/Core/Logging.h"
 #include "../../Resources/Orthanc/Core/HttpClient.h"
-#include "../Messaging/CurlOrthancConnection.h"
+#include "../../Resources/Orthanc/Plugins/Samples/Common/OrthancHttpConnection.h"
 #include "Sdl/SdlEngine.h"
 
 namespace OrthancStone
@@ -208,7 +208,7 @@
       }
 
       LOG(WARNING) << "URL to the Orthanc REST API: " << webService.GetUrl();
-      CurlOrthancConnection orthanc(webService);
+      OrthancPlugins::OrthancHttpConnection orthanc(webService);
 
       if (!MessagingToolbox::CheckOrthancVersion(orthanc))
       {