diff OrthancFramework/Sources/RestApi/RestApi.h @ 4330:a01b1c9cbef4

moving generic type definitions from IHttpHandler to HttpToolbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2020 14:39:10 +0100
parents bf7b9edf6b81
children 82652c5fc04f
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApi.h	Wed Nov 25 13:46:49 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApi.h	Wed Nov 25 14:39:10 2020 +0100
@@ -24,6 +24,7 @@
 
 #include "RestApiHierarchy.h"
 #include "../Compatibility.h"
+#include "../HttpServer/IHttpHandler.h"
 
 #include <list>
 
@@ -43,7 +44,7 @@
                                             const char* username,
                                             HttpMethod method,
                                             const UriComponents& uri,
-                                            const Arguments& headers)
+                                            const HttpToolbox::Arguments& headers)
     {
       return false;
     }
@@ -54,8 +55,8 @@
                         const char* username,
                         HttpMethod method,
                         const UriComponents& uri,
-                        const Arguments& headers,
-                        const GetArguments& getArguments,
+                        const HttpToolbox::Arguments& headers,
+                        const HttpToolbox::GetArguments& getArguments,
                         const void* bodyData,
                         size_t bodySize);