Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.h @ 1630:ffd23c0104af
"/system" URI gives information about the plugins used for storage area and DB back-end
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2015 13:26:45 +0200 |
parents | 1ec254a7c645 |
children | eb8fbcf008b5 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h Fri Sep 18 17:45:59 2015 +0200 +++ b/Plugins/Engine/OrthancPlugins.h Mon Sep 21 13:26:45 2015 +0200 @@ -130,7 +130,8 @@ const char* bodyData, size_t bodySize); - virtual bool InvokeService(_OrthancPluginService service, + virtual bool InvokeService(SharedLibrary& plugin, + _OrthancPluginService service, const void* parameters); virtual void SignalChange(const ServerIndexChange& change); @@ -149,9 +150,13 @@ IStorageArea* CreateStorageArea(); // To be freed after use - bool HasDatabase() const; + const SharedLibrary& GetStorageAreaLibrary() const; + + bool HasDatabaseBackend() const; - IDatabaseWrapper& GetDatabase(); + IDatabaseWrapper& GetDatabaseBackend(); + + const SharedLibrary& GetDatabaseBackendLibrary() const; const char* GetProperty(const char* plugin, _OrthancPluginProperty property) const;