diff Plugins/Engine/OrthancPlugins.cpp @ 1644:939b921b2c81

plugin error dictionary
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Sep 2015 22:05:27 +0200
parents 87c77b9b3679
children da799f767e5d
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Wed Sep 23 14:42:20 2015 +0200
+++ b/Plugins/Engine/OrthancPlugins.cpp	Wed Sep 23 22:05:27 2015 +0200
@@ -242,6 +242,7 @@
     int argc_;
     char** argv_;
     std::auto_ptr<OrthancPluginDatabase>  database_;
+    PluginsErrorDictionary  dictionary_;
 
     PImpl() : 
       context_(NULL), 
@@ -1784,4 +1785,10 @@
   {
     return pimpl_->manager_;
   }
+
+
+  PluginsErrorDictionary&  OrthancPlugins::GetErrorDictionary()
+  {
+    return pimpl_->dictionary_;
+  }
 }