diff Framework/Plugins/StorageBackend.h @ 14:9774802fd05f

PostgreSQLStorageArea working
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Jul 2018 20:28:27 +0200
parents 41543239072d
children 9e419261f1c9
line wrap: on
line diff
--- a/Framework/Plugins/StorageBackend.h	Mon Jul 09 18:42:34 2018 +0200
+++ b/Framework/Plugins/StorageBackend.h	Mon Jul 09 20:28:27 2018 +0200
@@ -71,6 +71,12 @@
     static void Register(OrthancPluginContext* context,
                          StorageBackend* backend);   // Takes ownership
 
+    // For unit testing!
+    void ReadToString(std::string& content,
+                      DatabaseManager::Transaction& transaction, 
+                      const std::string& uuid,
+                      OrthancPluginContentType type);
+
     static void Finalize();
   };
 }