# HG changeset patch # User Sebastien Jodogne # Date 1403177869 -7200 # Node ID cbc0ea03dffeea736f20e48810347d0abc49b4ab # Parent 89e3cc078df06ccfb717d123bf1ed021546ac836 sample plugin configuration diff -r 89e3cc078df0 -r cbc0ea03dffe Plugins/OrthancCPlugin/OrthancCPlugin.h --- a/Plugins/OrthancCPlugin/OrthancCPlugin.h Thu Jun 19 11:40:05 2014 +0200 +++ b/Plugins/OrthancCPlugin/OrthancCPlugin.h Thu Jun 19 13:37:49 2014 +0200 @@ -1,3 +1,20 @@ +/** + * \mainpage + * + * This SDK allows external developers to create plugins that can be + * loaded into Orthanc to extend its functionality. Each Orthanc + * plugin must expose 4 public functions with the following + * signatures: + * + * - int32_t OrthancPluginInitialize(const OrthancPluginContext*): + * This function is invoked by Orthanc + * - void OrthancPluginFinalize() + * - const char* OrthancPluginGetName() + * - const char* OrthancPluginGetVersion() + **/ + + + /** * @defgroup CInterface C Interface * @brief The C interface to create Orthanc plugins. @@ -6,6 +23,7 @@ **/ + /** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege, @@ -38,6 +56,7 @@ **/ + #pragma once @@ -362,16 +381,6 @@ } - /** - Each plugin must define 4 functions, whose signature are: - - int32_t OrthancPluginInitialize(const OrthancPluginContext*); - - void OrthancPluginFinalize(); - - const char* OrthancPluginGetName(); - - const char* OrthancPluginGetVersion(); - - nm -C -D --defined-only libPluginTest.so - **/ - #ifdef __cplusplus } #endif