diff Platforms/Generic/WebServiceCommandBase.cpp @ 274:dc1beee33134 am-2

split SdlApplication into NativeApplication and SdlApplication
author am@osimis.io
date Fri, 24 Aug 2018 13:52:55 +0200
parents 46c5296d867e
children 87376a645ee1
line wrap: on
line diff
--- a/Platforms/Generic/WebServiceCommandBase.cpp	Fri Aug 24 11:26:59 2018 +0200
+++ b/Platforms/Generic/WebServiceCommandBase.cpp	Fri Aug 24 13:52:55 2018 +0200
@@ -31,7 +31,7 @@
                                                const std::string& uri,
                                                const IWebService::Headers& headers,
                                                Orthanc::IDynamicObject* payload /* takes ownership */,
-                                               BasicSdlApplicationContext& context) :
+                                               BasicNativeApplicationContext& context) :
     IObservable(broker),
     callback_(callback),
     parameters_(parameters),
@@ -48,7 +48,7 @@
 
   void WebServiceCommandBase::Commit()
   {
-    BasicSdlApplicationContext::GlobalMutexLocker lock(context_);  // we want to make sure that, i.e, the UpdateThread is not triggered while we are updating the "model" with the result of a WebServiceCommand
+    BasicNativeApplicationContext::GlobalMutexLocker lock(context_);  // we want to make sure that, i.e, the UpdateThread is not triggered while we are updating the "model" with the result of a WebServiceCommand
 
     if (success_)
     {