Mercurial > hg > orthanc
comparison Plugins/Engine/PluginsEnumerations.h @ 2006:6301bbcbcaed
more generic support of value representations
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 09 Jun 2016 14:48:40 +0200 |
parents | ef1e9856c26f |
children | dd609a99d39a |
comparison
equal
deleted
inserted
replaced
2005:9e021b2b348b | 2006:6301bbcbcaed |
---|---|
35 #if ORTHANC_PLUGINS_ENABLED == 1 | 35 #if ORTHANC_PLUGINS_ENABLED == 1 |
36 | 36 |
37 #include "../Include/orthanc/OrthancCPlugin.h" | 37 #include "../Include/orthanc/OrthancCPlugin.h" |
38 #include "../../OrthancServer/ServerEnumerations.h" | 38 #include "../../OrthancServer/ServerEnumerations.h" |
39 | 39 |
40 #if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0 | |
41 #include <dcmtk/dcmdata/dcvr.h> | |
42 #endif | |
43 | |
44 namespace Orthanc | 40 namespace Orthanc |
45 { | 41 { |
46 namespace Plugins | 42 namespace Plugins |
47 { | 43 { |
48 OrthancPluginResourceType Convert(ResourceType type); | 44 OrthancPluginResourceType Convert(ResourceType type); |
67 | 63 |
68 OrthancPluginInstanceOrigin Convert(RequestOrigin origin); | 64 OrthancPluginInstanceOrigin Convert(RequestOrigin origin); |
69 | 65 |
70 OrthancPluginHttpMethod Convert(HttpMethod method); | 66 OrthancPluginHttpMethod Convert(HttpMethod method); |
71 | 67 |
72 #if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0 | 68 ValueRepresentation Convert(OrthancPluginValueRepresentation vr); |
73 DcmEVR Convert(OrthancPluginValueRepresentation vr); | |
74 | 69 |
75 OrthancPluginValueRepresentation Convert(DcmEVR vr); | 70 OrthancPluginValueRepresentation Convert(ValueRepresentation vr); |
76 #endif | |
77 } | 71 } |
78 } | 72 } |
79 | 73 |
80 #endif | 74 #endif |