# HG changeset patch # User Sebastien Jodogne # Date 1559890287 -7200 # Node ID 19dd28b3a54176f7a31ea9cdbbccddd48002b768 # Parent b15c3423b682412a6f330b539c3f9cf55a7bc430 note about c++ plugins diff -r b15c3423b682 -r 19dd28b3a541 Sphinx/source/developers/creating-plugins.rst --- a/Sphinx/source/developers/creating-plugins.rst Mon May 20 14:23:28 2019 +0200 +++ b/Sphinx/source/developers/creating-plugins.rst Fri Jun 07 08:51:27 2019 +0200 @@ -30,6 +30,21 @@ your plugin to be **indexed** in :ref:`the dedicated part of the Orthanc Book `! +**Note for C++ developers**: Convenience C++ wrappers around the plain +C API are available in the source Orthanc distribution. The following +three files can be used in your projects, and only depend on `Boost +`__ and `JsonCpp +`__ if macro +``HAS_ORTHANC_EXCEPTION`` is set to ``0``: + +* `Plugins/Samples/Common/OrthanPluginCppWrapper.h + `__ +* `Plugins/Samples/Common/OrthanPluginCppWrapper.cpp + `__ +* `Plugins/Samples/Common/OrthanPluginException.h + `__ + + Structure of the plugins ------------------------