Mercurial > hg > orthanc
comparison OrthancServer/Sources/main.cpp @ 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 | 7e05ad57d7a1 |
children | e1e918e790e8 |
comparison
equal
deleted
inserted
replaced
4329:9dc0e42f868b | 4330:a01b1c9cbef4 |
---|---|
467 | 467 |
468 virtual bool IsAllowed(HttpMethod method, | 468 virtual bool IsAllowed(HttpMethod method, |
469 const char* uri, | 469 const char* uri, |
470 const char* ip, | 470 const char* ip, |
471 const char* username, | 471 const char* username, |
472 const IHttpHandler::Arguments& httpHeaders, | 472 const HttpToolbox::Arguments& httpHeaders, |
473 const IHttpHandler::GetArguments& getArguments) ORTHANC_OVERRIDE | 473 const HttpToolbox::GetArguments& getArguments) ORTHANC_OVERRIDE |
474 { | 474 { |
475 #if ORTHANC_ENABLE_PLUGINS == 1 | 475 #if ORTHANC_ENABLE_PLUGINS == 1 |
476 if (plugins_ != NULL && | 476 if (plugins_ != NULL && |
477 !plugins_->IsAllowed(method, uri, ip, username, httpHeaders, getArguments)) | 477 !plugins_->IsAllowed(method, uri, ip, username, httpHeaders, getArguments)) |
478 { | 478 { |