changeset 249:19dd28b3a541

note about c++ plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 08:51:27 +0200
parents b15c3423b682
children 540c2884cdf4
files Sphinx/source/developers/creating-plugins.rst
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <plugins-contributed>`!
 
+**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
+<https://www.boost.org/>`__ and `JsonCpp
+<https://github.com/open-source-parsers/jsoncpp>`__ if macro
+``HAS_ORTHANC_EXCEPTION`` is set to ``0``:
+
+* `Plugins/Samples/Common/OrthanPluginCppWrapper.h
+  <https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/Common/OrthancPluginCppWrapper.h>`__
+* `Plugins/Samples/Common/OrthanPluginCppWrapper.cpp
+  <https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp>`__
+* `Plugins/Samples/Common/OrthanPluginException.h
+  <https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/Common/OrthancPluginException.h>`__
+
+
 
 Structure of the plugins
 ------------------------