Mercurial > hg > orthanc-stone
comparison Platforms/Generic/OracleWebService.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 | 8c8da145fefa |
comparison
equal
deleted
inserted
replaced
273:f21ba2468570 | 274:dc1beee33134 |
---|---|
23 | 23 |
24 #include "../../Framework/Toolbox/IWebService.h" | 24 #include "../../Framework/Toolbox/IWebService.h" |
25 #include "Oracle.h" | 25 #include "Oracle.h" |
26 #include "WebServiceGetCommand.h" | 26 #include "WebServiceGetCommand.h" |
27 #include "WebServicePostCommand.h" | 27 #include "WebServicePostCommand.h" |
28 #include "../../Applications/Sdl/BasicSdlApplicationContext.h" | 28 #include "../../Applications/Generic/BasicNativeApplicationContext.h" |
29 | 29 |
30 namespace OrthancStone | 30 namespace OrthancStone |
31 { | 31 { |
32 class OracleWebService : public IWebService | 32 class OracleWebService : public IWebService |
33 { | 33 { |
34 private: | 34 private: |
35 Oracle& oracle_; | 35 Oracle& oracle_; |
36 BasicSdlApplicationContext& context_; | 36 BasicNativeApplicationContext& context_; |
37 Orthanc::WebServiceParameters parameters_; | 37 Orthanc::WebServiceParameters parameters_; |
38 | 38 |
39 public: | 39 public: |
40 OracleWebService(MessageBroker& broker, | 40 OracleWebService(MessageBroker& broker, |
41 Oracle& oracle, | 41 Oracle& oracle, |
42 const Orthanc::WebServiceParameters& parameters, | 42 const Orthanc::WebServiceParameters& parameters, |
43 BasicSdlApplicationContext& context) : | 43 BasicNativeApplicationContext& context) : |
44 IWebService(broker), | 44 IWebService(broker), |
45 oracle_(oracle), | 45 oracle_(oracle), |
46 context_(context), | 46 context_(context), |
47 parameters_(parameters) | 47 parameters_(parameters) |
48 { | 48 { |