Mercurial > hg > orthanc-authorization
comparison Plugin/Plugin.cpp @ 22:c44013681a51
now using the Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 20 Jul 2018 14:37:30 +0200 |
parents | 4362026afddf |
children | bc0431cb6b8f |
comparison
equal
deleted
inserted
replaced
20:549d67db766c | 22:c44013681a51 |
---|---|
20 #include "DefaultAuthorizationParser.h" | 20 #include "DefaultAuthorizationParser.h" |
21 #include "CachedAuthorizationService.h" | 21 #include "CachedAuthorizationService.h" |
22 #include "AuthorizationWebService.h" | 22 #include "AuthorizationWebService.h" |
23 #include "MemoryCache.h" | 23 #include "MemoryCache.h" |
24 | 24 |
25 #include "../Resources/Orthanc/Plugins/Samples/Common/OrthancPluginCppWrapper.h" | 25 #include <Plugins/Samples/Common/OrthancPluginCppWrapper.h> |
26 #include "../Resources/Orthanc/Core/Logging.h" | 26 #include <Core/Logging.h> |
27 #include "../Resources/Orthanc/Core/Toolbox.h" | 27 #include <Core/Toolbox.h> |
28 | 28 |
29 static OrthancPluginContext* context_ = NULL; | 29 static OrthancPluginContext* context_ = NULL; |
30 | 30 |
31 | 31 |
32 // Configuration of the authorization plugin | 32 // Configuration of the authorization plugin |
382 } | 382 } |
383 | 383 |
384 | 384 |
385 ORTHANC_PLUGINS_API const char* OrthancPluginGetVersion() | 385 ORTHANC_PLUGINS_API const char* OrthancPluginGetVersion() |
386 { | 386 { |
387 return ORTHANC_AUTHORIZATION_VERSION; | 387 return ORTHANC_PLUGIN_VERSION; |
388 } | 388 } |
389 } | 389 } |