Mercurial > hg > orthanc-databases
diff PostgreSQL/Plugins/PostgreSQLIndex.h @ 72:8dd29af7c844 db-changes
new extension: FastTotalSize
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Jan 2019 14:43:35 +0100 |
parents | d40c5fecd160 |
children | a4e440e65c68 |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.h Fri Jan 04 13:51:52 2019 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.h Fri Jan 04 14:43:35 2019 +0100 @@ -71,9 +71,14 @@ } virtual int64_t CreateResource(const char* publicId, - OrthancPluginResourceType type); + OrthancPluginResourceType type) + ORTHANC_OVERRIDE; - virtual bool HasCreateInstance() const + virtual uint64_t GetTotalCompressedSize() ORTHANC_OVERRIDE; + + virtual uint64_t GetTotalUncompressedSize() ORTHANC_OVERRIDE; + + virtual bool HasCreateInstance() const ORTHANC_OVERRIDE { return true; } @@ -83,7 +88,8 @@ const char* hashPatient, const char* hashStudy, const char* hashSeries, - const char* hashInstance); + const char* hashInstance) + ORTHANC_OVERRIDE; #endif }; }