Mercurial > hg > orthanc
changeset 6278:05049a4d6782
fix versions of primitives in OrthancCPlugin.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 Aug 2025 11:48:07 +0200 |
parents | 519b1e2af1a8 |
children | 08f05cf97502 |
files | OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json |
diffstat | 2 files changed, 21 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Aug 12 07:38:01 2025 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Aug 12 11:48:07 2025 +0200 @@ -3728,6 +3728,7 @@ * @param plugin Identifier of your plugin (it must match "OrthancPluginGetName()"). * @param uri The root URI for this plugin. **/ + ORTHANC_PLUGIN_SINCE_SDK("1.12.4") ORTHANC_PLUGIN_INLINE void OrthancPluginSetRootUri2( OrthancPluginContext* context, const char* plugin, @@ -3778,6 +3779,7 @@ * @param plugin Identifier of your plugin (it must match "OrthancPluginGetName()"). * @param description The description. **/ + ORTHANC_PLUGIN_SINCE_SDK("1.12.4") ORTHANC_PLUGIN_INLINE void OrthancPluginSetDescription2( OrthancPluginContext* context, const char* plugin, @@ -3828,6 +3830,7 @@ * @param plugin Identifier of your plugin (it must match "OrthancPluginGetName()"). * @param javascript The custom JavaScript code. **/ + ORTHANC_PLUGIN_SINCE_SDK("1.12.4") ORTHANC_PLUGIN_INLINE void OrthancPluginExtendOrthancExplorer2( OrthancPluginContext* context, const char* plugin,
--- a/OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json Tue Aug 12 07:38:01 2025 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancPluginCodeModel.json Tue Aug 12 11:48:07 2025 +0200 @@ -3724,7 +3724,12 @@ ], "summary": "Set the URI where the plugin provides its Web interface." }, - "return_sdk_type": "void" + "return_sdk_type": "void", + "since_sdk": [ + 1, + 12, + 4 + ] }, { "args": [ @@ -3770,7 +3775,12 @@ ], "summary": "Set a description for this plugin." }, - "return_sdk_type": "void" + "return_sdk_type": "void", + "since_sdk": [ + 1, + 12, + 4 + ] }, { "args": [ @@ -3816,7 +3826,12 @@ ], "summary": "Extend the JavaScript code of Orthanc Explorer." }, - "return_sdk_type": "void" + "return_sdk_type": "void", + "since_sdk": [ + 1, + 12, + 4 + ] }, { "args": [