Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 974:83622b0f544c
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Jun 2014 14:44:05 +0200 |
parents | 84513f2ee1f3 |
children | 6968356679c0 |
comparison
equal
deleted
inserted
replaced
972:2047e6f033bd | 974:83622b0f544c |
---|---|
231 writer.CloseDirectory(); | 231 writer.CloseDirectory(); |
232 return true; | 232 return true; |
233 } | 233 } |
234 | 234 |
235 template <enum ResourceType resourceType> | 235 template <enum ResourceType resourceType> |
236 static void GetArchive(RestApi::GetCall& call) | 236 static void GetArchive(RestApiGetCall& call) |
237 { | 237 { |
238 ServerContext& context = OrthancRestApi::GetContext(call); | 238 ServerContext& context = OrthancRestApi::GetContext(call); |
239 | 239 |
240 std::string id = call.GetUriComponent("id", ""); | 240 std::string id = call.GetUriComponent("id", ""); |
241 | 241 |