comparison Plugins/Engine/PluginsEnumerations.h @ 2884:497a637366b4 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 12 Oct 2018 15:18:10 +0200
parents 37583cd183ed
children 3638de45a08c 4e43e67f8ecf
comparison
equal deleted inserted replaced
1762:2b91363cc1d1 2884:497a637366b4
1 /** 1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store 2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium 4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017-2018 Osimis S.A., Belgium
5 * 6 *
6 * This program is free software: you can redistribute it and/or 7 * This program is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as 8 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, either version 3 of the 9 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version. 10 * License, or (at your option) any later version.
30 **/ 31 **/
31 32
32 33
33 #pragma once 34 #pragma once
34 35
35 #if ORTHANC_PLUGINS_ENABLED == 1 36 #if ORTHANC_ENABLE_PLUGINS == 1
36 37
37 #include "../Include/orthanc/OrthancCPlugin.h" 38 #include "../Include/orthanc/OrthancCPlugin.h"
38 #include "../../OrthancServer/ServerEnumerations.h" 39 #include "../../OrthancServer/ServerEnumerations.h"
39
40 #if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0
41 #include <dcmtk/dcmdata/dcvr.h>
42 #endif
43 40
44 namespace Orthanc 41 namespace Orthanc
45 { 42 {
46 namespace Plugins 43 namespace Plugins
47 { 44 {
63 60
64 OrthancPluginIdentifierConstraint Convert(IdentifierConstraintType constraint); 61 OrthancPluginIdentifierConstraint Convert(IdentifierConstraintType constraint);
65 62
66 IdentifierConstraintType Convert(OrthancPluginIdentifierConstraint constraint); 63 IdentifierConstraintType Convert(OrthancPluginIdentifierConstraint constraint);
67 64
68 #if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0 65 OrthancPluginInstanceOrigin Convert(RequestOrigin origin);
69 DcmEVR Convert(OrthancPluginValueRepresentation vr); 66
70 #endif 67 OrthancPluginHttpMethod Convert(HttpMethod method);
68
69 ValueRepresentation Convert(OrthancPluginValueRepresentation vr);
70
71 OrthancPluginValueRepresentation Convert(ValueRepresentation vr);
72
73 OrthancPluginJobStepStatus Convert(JobStepCode step);
74
75 JobStepCode Convert(OrthancPluginJobStepStatus step);
71 } 76 }
72 } 77 }
73 78
74 #endif 79 #endif