diff Framework/Plugins/StorageBackend.h @ 246:483af3f35a4b

turning ResultFileValue into a base class, and implement its primitives for PostgreSQL
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Apr 2021 08:42:31 +0200
parents b97a537f4613
children 33fa478c119a
line wrap: on
line diff
--- a/Framework/Plugins/StorageBackend.h	Tue Apr 13 18:50:44 2021 +0200
+++ b/Framework/Plugins/StorageBackend.h	Wed Apr 14 08:42:31 2021 +0200
@@ -65,7 +65,7 @@
                              const std::string& uuid,
                              OrthancPluginContentType type,
                              uint64_t start,
-                             uint64_t length) = 0;
+                             size_t length) = 0;
       
       virtual void Remove(const std::string& uuid,
                           OrthancPluginContentType type) = 0;
@@ -111,7 +111,7 @@
                              const std::string& uuid,
                              OrthancPluginContentType type,
                              uint64_t start,
-                             uint64_t length);
+                             size_t length);
       
       virtual void Remove(const std::string& uuid,
                           OrthancPluginContentType type);
@@ -148,6 +148,6 @@
                                   const std::string& uuid,
                                   OrthancPluginContentType type,
                                   uint64_t start,
-                                  uint64_t length);
+                                  size_t length);
   };
 }