Mercurial > hg > orthanc-stone
diff Platforms/Generic/WebServiceCommandBase.h @ 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.h Fri Aug 24 11:26:59 2018 +0200 +++ b/Platforms/Generic/WebServiceCommandBase.h Fri Aug 24 13:52:55 2018 +0200 @@ -25,7 +25,7 @@ #include "../../Framework/Toolbox/IWebService.h" #include "../../Framework/Messages/IObservable.h" -#include "../../Applications/Sdl/BasicSdlApplicationContext.h" +#include "../../Applications/Generic/BasicNativeApplicationContext.h" #include <Core/WebServiceParameters.h> @@ -43,7 +43,7 @@ std::auto_ptr<Orthanc::IDynamicObject> payload_; bool success_; std::string answer_; - BasicSdlApplicationContext& context_; + BasicNativeApplicationContext& context_; public: WebServiceCommandBase(MessageBroker& broker, @@ -52,7 +52,7 @@ const std::string& uri, const std::map<std::string, std::string>& headers, Orthanc::IDynamicObject* payload /* takes ownership */, - BasicSdlApplicationContext& context); + BasicNativeApplicationContext& context); virtual void Execute() = 0;