comparison OrthancServer/OrthancRestApi/OrthancRestChanges.cpp @ 2908:9d277f8ad698

new enumeration: MimeType
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 16:16:07 +0100
parents ae20fccdd867
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2907:0204af4ece6a 2908:9d277f8ad698
96 96
97 97
98 static void DeleteChanges(RestApiDeleteCall& call) 98 static void DeleteChanges(RestApiDeleteCall& call)
99 { 99 {
100 OrthancRestApi::GetIndex(call).DeleteChanges(); 100 OrthancRestApi::GetIndex(call).DeleteChanges();
101 call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); 101 call.GetOutput().AnswerBuffer("", MimeType_PlainText);
102 } 102 }
103 103
104 104
105 // Exports API -------------------------------------------------------------- 105 // Exports API --------------------------------------------------------------
106 106
128 128
129 129
130 static void DeleteExports(RestApiDeleteCall& call) 130 static void DeleteExports(RestApiDeleteCall& call)
131 { 131 {
132 OrthancRestApi::GetIndex(call).DeleteExportedResources(); 132 OrthancRestApi::GetIndex(call).DeleteExportedResources();
133 call.GetOutput().AnswerBuffer("", MIME_PLAIN_TEXT); 133 call.GetOutput().AnswerBuffer("", MimeType_PlainText);
134 } 134 }
135 135
136 136
137 void OrthancRestApi::RegisterChanges() 137 void OrthancRestApi::RegisterChanges()
138 { 138 {