diff Core/FileStorage/StorageAccessor.h @ 1750:55d52567bebb db-changes

LookupResource implemented
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Oct 2015 12:45:50 +0100
parents e5e975e9b738
children 53e045b5a8ec
line wrap: on
line diff
--- a/Core/FileStorage/StorageAccessor.h	Tue Oct 27 10:54:51 2015 +0100
+++ b/Core/FileStorage/StorageAccessor.h	Tue Oct 27 12:45:50 2015 +0100
@@ -41,6 +41,7 @@
 #include <string>
 #include <boost/noncopyable.hpp>
 #include <stdint.h>
+#include <json/value.h>
 
 namespace Orthanc
 {
@@ -75,6 +76,9 @@
     void Read(std::string& content,
               const FileInfo& info);
 
+    void Read(Json::Value& content,
+              const FileInfo& info);
+
     void Remove(const FileInfo& info)
     {
       area_.Remove(info.GetUuid(), info.GetContentType());