Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.h @ 2010:4dafe2a0d3ab
Support of SIGHUP signal (restart Orthanc only if the configuration files have changed)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 09 Jun 2016 17:57:47 +0200 |
parents | 84c7eaeb5244 |
children | a0bd8cd55da7 |
comparison
equal
deleted
inserted
replaced
2009:e2dd40abce72 | 2010:4dafe2a0d3ab |
---|---|
50 | 50 |
51 void OrthancFinalize(); | 51 void OrthancFinalize(); |
52 | 52 |
53 class Configuration | 53 class Configuration |
54 { | 54 { |
55 private: | |
56 Configuration(); // Forbidden, this is a static class | |
57 | |
55 public: | 58 public: |
56 static std::string GetGlobalStringParameter(const std::string& parameter, | 59 static std::string GetGlobalStringParameter(const std::string& parameter, |
57 const std::string& defaultValue); | 60 const std::string& defaultValue); |
58 | 61 |
59 static int GetGlobalIntegerParameter(const std::string& parameter, | 62 static int GetGlobalIntegerParameter(const std::string& parameter, |
115 static void FormatConfiguration(std::string& result); | 118 static void FormatConfiguration(std::string& result); |
116 | 119 |
117 static const FontRegistry& GetFontRegistry(); | 120 static const FontRegistry& GetFontRegistry(); |
118 | 121 |
119 static Encoding GetDefaultEncoding(); | 122 static Encoding GetDefaultEncoding(); |
123 | |
124 static bool HasConfigurationChanged(); | |
120 }; | 125 }; |
121 } | 126 } |