Mercurial > hg > orthanc
comparison Core/RestApi/RestApiOutput.h @ 210:96b7918a6a18
start of the refactoring of the Orthanc REST API
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Nov 2012 18:03:44 +0100 |
parents | 9960642f0f45 |
children | b7aea293b965 |
comparison
equal
deleted
inserted
replaced
209:9960642f0f45 | 210:96b7918a6a18 |
---|---|
41 { | 41 { |
42 class RestApiOutput | 42 class RestApiOutput |
43 { | 43 { |
44 private: | 44 private: |
45 HttpOutput& output_; | 45 HttpOutput& output_; |
46 bool existingResource_; | |
46 | 47 |
47 public: | 48 public: |
48 RestApiOutput(HttpOutput& output) : output_(output) | 49 RestApiOutput(HttpOutput& output); |
49 { | 50 |
50 } | 51 ~RestApiOutput(); |
51 | 52 |
52 void AnswerFile(HttpFileSender& sender); | 53 void AnswerFile(HttpFileSender& sender); |
53 | 54 |
54 void AnswerJson(const Json::Value& value); | 55 void AnswerJson(const Json::Value& value); |
55 | 56 |