Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.h @ 1644:939b921b2c81
plugin error dictionary
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Sep 2015 22:05:27 +0200 |
parents | eb8fbcf008b5 |
children | 1558b3226b18 |
comparison
equal
deleted
inserted
replaced
1643:87c77b9b3679 | 1644:939b921b2c81 |
---|---|
30 **/ | 30 **/ |
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include "PluginsErrorDictionary.h" | |
36 | |
35 #if ORTHANC_PLUGINS_ENABLED != 1 | 37 #if ORTHANC_PLUGINS_ENABLED != 1 |
36 | 38 |
37 #include <boost/noncopyable.hpp> | 39 #include <boost/noncopyable.hpp> |
38 | 40 |
39 namespace Orthanc | 41 namespace Orthanc |
40 { | 42 { |
41 class OrthancPlugins : public boost::noncopyable | 43 class OrthancPlugins : public boost::noncopyable |
42 { | 44 { |
45 private: | |
46 PluginsErrorDictionary dictionary_; | |
47 | |
48 public: | |
49 PluginsErrorDictionary& GetErrorDictionary() | |
50 { | |
51 return dictionary_; | |
52 } | |
43 }; | 53 }; |
44 } | 54 } |
45 | 55 |
46 #else | 56 #else |
47 | 57 |
177 void SetCommandLineArguments(int argc, char* argv[]); | 187 void SetCommandLineArguments(int argc, char* argv[]); |
178 | 188 |
179 PluginsManager& GetManager(); | 189 PluginsManager& GetManager(); |
180 | 190 |
181 const PluginsManager& GetManager() const; | 191 const PluginsManager& GetManager() const; |
192 | |
193 PluginsErrorDictionary& GetErrorDictionary(); | |
182 }; | 194 }; |
183 } | 195 } |
184 | 196 |
185 #endif | 197 #endif |