Mercurial > hg > orthanc
diff Plugins/Samples/Basic/Plugin.c @ 3206:d9e3d3340918
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Feb 2019 18:04:28 +0100 |
parents | 6c86d4d407da |
children | c9a71eb4edcf |
line wrap: on
line diff
--- a/Plugins/Samples/Basic/Plugin.c Wed Feb 06 18:01:43 2019 +0100 +++ b/Plugins/Samples/Basic/Plugin.c Wed Feb 06 18:04:28 2019 +0100 @@ -38,8 +38,11 @@ if (request->method != OrthancPluginHttpMethod_Get) { - // NB: Calling "OrthancPluginSendMethodNotAllowed(context, output, "GET");" - // is preferable. This is a sample to demonstrate "OrthancPluginSetHttpErrorDetails()". + /** + * NB: Calling "OrthancPluginSendMethodNotAllowed(context, output, + * "GET");" is preferable. This is a sample to demonstrate + * "OrthancPluginSetHttpErrorDetails()". + **/ OrthancPluginSetHttpErrorDetails(context, output, "This Callback1() can only be used by a GET call", 1 /* log */); return OrthancPluginErrorCode_ParameterOutOfRange; } @@ -263,7 +266,7 @@ } -ORTHANC_PLUGINS_API OrthancPluginErrorCode DicomWebBinaryCallback( +ORTHANC_PLUGINS_API void DicomWebBinaryCallback( OrthancPluginDicomWebNode* node, OrthancPluginDicomWebSetBinaryNode setter, uint32_t levelDepth,