diff Plugins/Engine/OrthancPlugins.h @ 1452:b737acb13da5

refactoring of the main function
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Jul 2015 11:35:41 +0200
parents 8dc80ba768aa
children 89ab71a68fcf
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Thu Jul 02 09:45:36 2015 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Thu Jul 02 11:35:41 2015 +0200
@@ -43,7 +43,6 @@
 
 namespace Orthanc
 {
-  class OrthancRestApi;
   class ServerContext;
 
   class OrthancPlugins : 
@@ -124,13 +123,9 @@
       return true; // TODO Enable filtering of instances from plugins
     }
 
-    void SetOrthancRestApi(OrthancRestApi& restApi);
-
-    void ResetOrthancRestApi();
-
     bool HasStorageArea() const;
 
-    IStorageArea* GetStorageArea();  // To be freed after use
+    IStorageArea* CreateStorageArea();  // To be freed after use
 
     bool HasDatabase() const;