Scheduler/Console: Add optional file support to FileConfig
[senf.git] / Scheduler / Console / ConfigFile.ih
index 59df5a9..f37ca6e 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief ConfigFile internal header */
 
-#ifndef IH_ConfigFile_
-#define IH_ConfigFile_ 1
+#ifndef IH_SENF_Scheduler_Console_ConfigFile_
+#define IH_SENF_Scheduler_Console_ConfigFile_ 1
 
 // Custom includes
 
@@ -43,12 +43,15 @@ namespace detail {
 
         static ptr create(std::string const & filename);
 
+        ptr ignoreMissing();
+
     private:
         ConfigFileSource(std::string const & filename);
 
         virtual void v_parse(RestrictedExecutor & executor);
 
         std::string filename_;
+        bool ignoreMissing_;
         CommandParser parser_;
     };