Mercurial > hg > orthanc
diff Plugins/Engine/PluginsEnumerations.h @ 3077:aae1d6d31fef db-changes
compatibility with orthanc-databases
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 10:06:42 +0100 |
parents | 495c5edce708 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Plugins/Engine/PluginsEnumerations.h Wed Jan 02 19:04:15 2019 +0100 +++ b/Plugins/Engine/PluginsEnumerations.h Thu Jan 03 10:06:42 2019 +0100 @@ -35,9 +35,15 @@ #if ORTHANC_ENABLE_PLUGINS == 1 +/** + * NB: Conversions to/from "OrthancPluginConstraintType" and + * "OrthancPluginResourceType" are located in file + * "../../OrthancServer/Search/DatabaseConstraint.h" to be shared with + * the "orthanc-databases" project. + **/ + #include "../Include/orthanc/OrthancCPlugin.h" -#include "../../OrthancServer/ServerEnumerations.h" -#include "../../OrthancServer/Search/Compatibility/CompatibilityDatabaseWrapper.h" +#include "../../OrthancServer/Search/DatabaseConstraint.h" namespace Orthanc { @@ -50,10 +56,6 @@ namespace Plugins { - OrthancPluginResourceType Convert(ResourceType type); - - ResourceType Convert(OrthancPluginResourceType type); - OrthancPluginChangeType Convert(ChangeType type); OrthancPluginPixelFormat Convert(PixelFormat format); @@ -77,10 +79,6 @@ OrthancPluginJobStepStatus Convert(JobStepCode step); JobStepCode Convert(OrthancPluginJobStepStatus step); - - OrthancPluginConstraintType Convert(ConstraintType constraint); - - ConstraintType Convert(OrthancPluginConstraintType constraint); } }