Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.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 | e5e975e9b738 |
children | f5ddbd9239dd |
comparison
equal
deleted
inserted
replaced
1631:0d074f5f6069 | 1632:eb8fbcf008b5 |
---|---|
117 MemoryCache dicomCache_; | 117 MemoryCache dicomCache_; |
118 ReusableDicomUserConnection scu_; | 118 ReusableDicomUserConnection scu_; |
119 ServerScheduler scheduler_; | 119 ServerScheduler scheduler_; |
120 | 120 |
121 LuaScripting lua_; | 121 LuaScripting lua_; |
122 | |
123 #if ORTHANC_PLUGINS_ENABLED == 1 | |
122 OrthancPlugins* plugins_; | 124 OrthancPlugins* plugins_; |
125 #endif | |
126 | |
123 ServerListeners listeners_; | 127 ServerListeners listeners_; |
124 boost::recursive_mutex listenersMutex_; | 128 boost::recursive_mutex listenersMutex_; |
125 | 129 |
126 bool done_; | 130 bool done_; |
127 SharedMessageQueue pendingChanges_; | 131 SharedMessageQueue pendingChanges_; |
240 | 244 |
241 /** | 245 /** |
242 * Management of the plugins | 246 * Management of the plugins |
243 **/ | 247 **/ |
244 | 248 |
249 #if ORTHANC_PLUGINS_ENABLED == 1 | |
245 void SetPlugins(OrthancPlugins& plugins); | 250 void SetPlugins(OrthancPlugins& plugins); |
246 | 251 |
247 void ResetPlugins(); | 252 void ResetPlugins(); |
248 | 253 |
254 const OrthancPlugins& GetPlugins() const; | |
255 #endif | |
256 | |
249 bool HasPlugins() const; | 257 bool HasPlugins() const; |
250 | 258 |
251 const OrthancPlugins& GetPlugins() const; | |
252 }; | 259 }; |
253 } | 260 } |