diff Plugins/Engine/OrthancPluginDatabase.h @ 1615:c40fe92a68e7

Primitives to upgrade the database version in plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2015 15:18:59 +0200
parents c74495267acf
children ffd23c0104af
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.h	Fri Sep 11 18:46:13 2015 +0200
+++ b/Plugins/Engine/OrthancPluginDatabase.h	Wed Sep 16 15:18:59 2015 +0200
@@ -222,6 +222,11 @@
       listener_ = &listener;
     }
 
+    virtual unsigned int GetDatabaseVersion();
+
+    virtual void Upgrade(unsigned int targetVersion,
+                         IStorageArea& storageArea);
+
     void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
   };
 }