diff 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
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.h	Thu Jun 09 17:25:34 2016 +0200
+++ b/OrthancServer/OrthancInitialization.h	Thu Jun 09 17:57:47 2016 +0200
@@ -52,6 +52,9 @@
 
   class Configuration
   {
+  private:
+    Configuration();  // Forbidden, this is a static class
+
   public:
     static std::string GetGlobalStringParameter(const std::string& parameter,
                                                 const std::string& defaultValue);
@@ -117,5 +120,7 @@
     static const FontRegistry& GetFontRegistry();
 
     static Encoding GetDefaultEncoding();
+
+    static bool HasConfigurationChanged();
   };
 }