diff 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
line wrap: on
line diff
--- a/Core/RestApi/RestApiOutput.h	Wed Nov 28 17:22:07 2012 +0100
+++ b/Core/RestApi/RestApiOutput.h	Wed Nov 28 18:03:44 2012 +0100
@@ -43,11 +43,12 @@
   {
   private:
     HttpOutput& output_;
+    bool existingResource_;
 
   public:
-    RestApiOutput(HttpOutput& output) : output_(output)
-    {
-    }
+    RestApiOutput(HttpOutput& output);
+
+    ~RestApiOutput();
 
     void AnswerFile(HttpFileSender& sender);