Mercurial > hg > orthanc-stone
comparison Platforms/Generic/OracleWebService.h @ 291:87376a645ee1 am-2
renaming
author | am@osimis.io |
---|---|
date | Thu, 30 Aug 2018 17:06:22 +0200 |
parents | 8c8da145fefa |
children | b04b13810540 |
comparison
equal
deleted
inserted
replaced
289:36ebe6ec8fe8 | 291:87376a645ee1 |
---|---|
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/Generic/BasicNativeApplicationContext.h" | 28 #include "../../Applications/Generic/NativeStoneApplicationContext.h" |
29 | 29 |
30 namespace OrthancStone | 30 namespace OrthancStone |
31 { | 31 { |
32 // The OracleWebService performs HTTP requests in a native environment. | 32 // The OracleWebService performs HTTP requests in a native environment. |
33 class OracleWebService : public IWebService | 33 class OracleWebService : public IWebService |
34 { | 34 { |
35 private: | 35 private: |
36 Oracle& oracle_; | 36 Oracle& oracle_; |
37 BasicNativeApplicationContext& context_; | 37 NativeStoneApplicationContext& context_; |
38 Orthanc::WebServiceParameters parameters_; | 38 Orthanc::WebServiceParameters parameters_; |
39 | 39 |
40 public: | 40 public: |
41 OracleWebService(MessageBroker& broker, | 41 OracleWebService(MessageBroker& broker, |
42 Oracle& oracle, | 42 Oracle& oracle, |
43 const Orthanc::WebServiceParameters& parameters, | 43 const Orthanc::WebServiceParameters& parameters, |
44 BasicNativeApplicationContext& context) : | 44 NativeStoneApplicationContext& context) : |
45 IWebService(broker), | 45 IWebService(broker), |
46 oracle_(oracle), | 46 oracle_(oracle), |
47 context_(context), | 47 context_(context), |
48 parameters_(parameters) | 48 parameters_(parameters) |
49 { | 49 { |