comparison OrthancServer/ServerEnumerations.h @ 204:7f4acf490179

changes api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Nov 2012 11:27:57 +0100
parents bee20e978835
children 4453a010d0db
comparison
equal deleted inserted replaced
203:9283552c25df 204:7f4acf490179
28 * You should have received a copy of the GNU General Public License 28 * You should have received a copy of the GNU General Public License
29 * along with this program. If not, see <http://www.gnu.org/licenses/>. 29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 **/ 30 **/
31 31
32 #pragma once 32 #pragma once
33
34 #include <string>
33 35
34 namespace Orthanc 36 namespace Orthanc
35 { 37 {
36 enum SeriesStatus 38 enum SeriesStatus
37 { 39 {
74 { 76 {
75 ChangeType_CompletedSeries = 1, 77 ChangeType_CompletedSeries = 1,
76 ChangeType_NewInstance = 3, 78 ChangeType_NewInstance = 3,
77 ChangeType_NewPatient = 4, 79 ChangeType_NewPatient = 4,
78 ChangeType_NewSeries = 2, 80 ChangeType_NewSeries = 2,
79 ChangeType_NewStudy = 5, 81 ChangeType_NewStudy = 5
80 ChangeType_InvalidSeries = 6
81 }; 82 };
82 83
83 enum AttachedFileType 84 enum AttachedFileType
84 { 85 {
85 AttachedFileType_Dicom = 1, 86 AttachedFileType_Dicom = 1,
86 AttachedFileType_Json = 2 87 AttachedFileType_Json = 2
87 }; 88 };
88 89
89 const char* ToString(ResourceType type); 90 const char* ToString(ResourceType type);
90 91
91 const char* GetBasePath(ResourceType type); 92 std::string GetBasePath(ResourceType type,
93 const std::string& publicId);
92 94
93 const char* ToString(SeriesStatus status); 95 const char* ToString(SeriesStatus status);
96
97 const char* ToString(ChangeType type);
94 } 98 }