comparison 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
comparison
equal deleted inserted replaced
1629:bad4772b605c 1630:ffd23c0104af
128 const Arguments& headers, 128 const Arguments& headers,
129 const GetArguments& getArguments, 129 const GetArguments& getArguments,
130 const char* bodyData, 130 const char* bodyData,
131 size_t bodySize); 131 size_t bodySize);
132 132
133 virtual bool InvokeService(_OrthancPluginService service, 133 virtual bool InvokeService(SharedLibrary& plugin,
134 _OrthancPluginService service,
134 const void* parameters); 135 const void* parameters);
135 136
136 virtual void SignalChange(const ServerIndexChange& change); 137 virtual void SignalChange(const ServerIndexChange& change);
137 138
138 virtual void SignalStoredInstance(const std::string& instanceId, 139 virtual void SignalStoredInstance(const std::string& instanceId,
147 148
148 bool HasStorageArea() const; 149 bool HasStorageArea() const;
149 150
150 IStorageArea* CreateStorageArea(); // To be freed after use 151 IStorageArea* CreateStorageArea(); // To be freed after use
151 152
152 bool HasDatabase() const; 153 const SharedLibrary& GetStorageAreaLibrary() const;
153 154
154 IDatabaseWrapper& GetDatabase(); 155 bool HasDatabaseBackend() const;
156
157 IDatabaseWrapper& GetDatabaseBackend();
158
159 const SharedLibrary& GetDatabaseBackendLibrary() const;
155 160
156 const char* GetProperty(const char* plugin, 161 const char* GetProperty(const char* plugin,
157 _OrthancPluginProperty property) const; 162 _OrthancPluginProperty property) const;
158 163
159 void SetCommandLineArguments(int argc, char* argv[]); 164 void SetCommandLineArguments(int argc, char* argv[]);