Mercurial > hg > orthanc
diff OrthancServer/Sources/main.cpp @ 4943:47d734fa30f6
adding function OrthancPluginRegisterWebDavCollection() to the plugin SDK
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Mar 2022 17:21:02 +0100 |
parents | bd7ad1cb40b6 |
children | e1495a34cd39 |
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp Wed Mar 16 10:55:13 2022 +0100 +++ b/OrthancServer/Sources/main.cpp Wed Mar 16 17:21:02 2022 +0100 @@ -1180,6 +1180,13 @@ } } +#if ORTHANC_ENABLE_PLUGINS == 1 + if (plugins != NULL) + { + plugins->RegisterWebDavCollections(httpServer); + } +#endif + MyHttpExceptionFormatter exceptionFormatter(httpDescribeErrors, plugins); httpServer.SetIncomingHttpRequestFilter(httpFilter);