Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.h @ 5220:df39c7583a49 db-protobuf
preparing virtual methods for labels
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Apr 2023 18:09:04 +0200 |
parents | 27e6ec2811e3 |
children | 176bc05f85f4 48b8dae6dc77 |
comparison
equal
deleted
inserted
replaced
5218:afa96af2eb5a | 5220:df39c7583a49 |
---|---|
42 std::string serverIdentifier_; | 42 std::string serverIdentifier_; |
43 bool open_; | 43 bool open_; |
44 unsigned int databaseVersion_; | 44 unsigned int databaseVersion_; |
45 bool hasFlushToDisk_; | 45 bool hasFlushToDisk_; |
46 bool hasRevisionsSupport_; | 46 bool hasRevisionsSupport_; |
47 bool hasLabelsSupport_; | |
47 | 48 |
48 void CheckSuccess(OrthancPluginErrorCode code) const; | 49 void CheckSuccess(OrthancPluginErrorCode code) const; |
49 | 50 |
50 public: | 51 public: |
51 OrthancPluginDatabaseV4(SharedLibrary& library, | 52 OrthancPluginDatabaseV4(SharedLibrary& library, |
91 | 92 |
92 virtual void Upgrade(unsigned int targetVersion, | 93 virtual void Upgrade(unsigned int targetVersion, |
93 IStorageArea& storageArea) ORTHANC_OVERRIDE; | 94 IStorageArea& storageArea) ORTHANC_OVERRIDE; |
94 | 95 |
95 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE; | 96 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE; |
97 | |
98 virtual bool HasLabelsSupport() const ORTHANC_OVERRIDE; | |
96 }; | 99 }; |
97 } | 100 } |
98 | 101 |
99 #endif | 102 #endif |