Mercurial > hg > orthanc
comparison OrthancFramework/Sources/HttpServer/HttpToolbox.h @ 4350:e457c30970cf
fix ORTHANC_DEPRECATED macro for C++14
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 06 Dec 2020 13:16:27 +0100 |
parents | 17d209a3f397 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4349:85237ae3a076 | 4350:e457c30970cf |
---|---|
60 | 60 |
61 static void CompileGetArguments(Arguments& compiled, | 61 static void CompileGetArguments(Arguments& compiled, |
62 const GetArguments& source); | 62 const GetArguments& source); |
63 | 63 |
64 #if (ORTHANC_ENABLE_MONGOOSE == 1 || ORTHANC_ENABLE_CIVETWEB == 1) | 64 #if (ORTHANC_ENABLE_MONGOOSE == 1 || ORTHANC_ENABLE_CIVETWEB == 1) |
65 ORTHANC_DEPRECATED | 65 ORTHANC_DEPRECATED(static bool SimpleGet(std::string& result, |
66 static bool SimpleGet(std::string& result, | 66 IHttpHandler& handler, |
67 IHttpHandler& handler, | 67 RequestOrigin origin, |
68 RequestOrigin origin, | 68 const std::string& uri, |
69 const std::string& uri, | 69 const Arguments& httpHeaders)); |
70 const Arguments& httpHeaders); | |
71 | 70 |
72 ORTHANC_DEPRECATED | 71 ORTHANC_DEPRECATED(static bool SimplePost(std::string& result, |
73 static bool SimplePost(std::string& result, | 72 IHttpHandler& handler, |
74 IHttpHandler& handler, | 73 RequestOrigin origin, |
75 RequestOrigin origin, | 74 const std::string& uri, |
76 const std::string& uri, | 75 const void* bodyData, |
77 const void* bodyData, | 76 size_t bodySize, |
78 size_t bodySize, | 77 const Arguments& httpHeaders)); |
79 const Arguments& httpHeaders); | |
80 | 78 |
81 ORTHANC_DEPRECATED | 79 ORTHANC_DEPRECATED(static bool SimplePut(std::string& result, |
82 static bool SimplePut(std::string& result, | 80 IHttpHandler& handler, |
83 IHttpHandler& handler, | 81 RequestOrigin origin, |
84 RequestOrigin origin, | 82 const std::string& uri, |
85 const std::string& uri, | 83 const void* bodyData, |
86 const void* bodyData, | 84 size_t bodySize, |
87 size_t bodySize, | 85 const Arguments& httpHeaders)); |
88 const Arguments& httpHeaders); | |
89 | 86 |
90 ORTHANC_DEPRECATED | 87 ORTHANC_DEPRECATED(static bool SimpleDelete(IHttpHandler& handler, |
91 static bool SimpleDelete(IHttpHandler& handler, | 88 RequestOrigin origin, |
92 RequestOrigin origin, | 89 const std::string& uri, |
93 const std::string& uri, | 90 const Arguments& httpHeaders)); |
94 const Arguments& httpHeaders); | |
95 #endif | 91 #endif |
96 }; | 92 }; |
97 } | 93 } |