Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.h @ 1249:40725595aaf0
Plugins can get/set global properties to save their configuration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Dec 2014 10:20:33 +0100 |
parents | 32fcc5dc7562 |
children | b4acdb37e43b |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Tue Dec 09 12:17:59 2014 +0100 +++ b/OrthancServer/ServerIndex.h Mon Dec 15 10:20:33 2014 +0100 @@ -251,6 +251,9 @@ void DeleteAttachment(const std::string& publicId, FileContentType type); + void SetGlobalProperty(GlobalProperty property, + const std::string& value); + std::string GetGlobalProperty(GlobalProperty property, const std::string& defaultValue); };