Mercurial > hg > orthanc
comparison Plugins/Engine/PluginsManager.h @ 1632:eb8fbcf008b5
fix build with plugins disabled
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2015 14:05:06 +0200 |
parents | ffd23c0104af |
children | 939b921b2c81 |
comparison
equal
deleted
inserted
replaced
1631:0d074f5f6069 | 1632:eb8fbcf008b5 |
---|---|
29 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 29 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
30 **/ | 30 **/ |
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | |
35 #if ORTHANC_PLUGINS_ENABLED == 1 | |
34 | 36 |
35 #include "SharedLibrary.h" | 37 #include "SharedLibrary.h" |
36 #include "IPluginServiceProvider.h" | 38 #include "IPluginServiceProvider.h" |
37 | 39 |
38 #include <map> | 40 #include <map> |
110 bool HasPlugin(const std::string& name) const; | 112 bool HasPlugin(const std::string& name) const; |
111 | 113 |
112 const std::string& GetPluginVersion(const std::string& name) const; | 114 const std::string& GetPluginVersion(const std::string& name) const; |
113 }; | 115 }; |
114 } | 116 } |
117 | |
118 #endif |