Mercurial > hg > orthanc
diff OrthancServer/IDatabaseWrapper.h @ 3082:847a0ed92654 db-changes
new extension for database plugin SDK: createInstance
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Jan 2019 13:52:34 +0100 |
parents | 1a75595d8e44 |
children | 683d572424b6 |
line wrap: on
line diff
--- a/OrthancServer/IDatabaseWrapper.h Thu Jan 03 20:03:35 2019 +0100 +++ b/OrthancServer/IDatabaseWrapper.h Fri Jan 04 13:52:34 2019 +0100 @@ -228,15 +228,14 @@ ResourceType queryLevel, size_t limit) = 0; - // Returns "true" iff. the instance already exists *and* - // "overwrite" is "false". If "false" is returned, the content of - // "result" is undefined, but "instanceId" must be properly set. + // Returns "true" iff. the instance already exists. If "false" is + // returned, the content of "result" is undefined, but + // "instanceId" must be properly set. virtual bool CreateInstance(CreateInstanceResult& result, /* out */ int64_t& instanceId, /* out */ const std::string& patient, const std::string& study, const std::string& series, - const std::string& instance, - bool overwrite) = 0; + const std::string& instance) = 0; }; }