]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.hxx
apt.dat parser: clearer log and exception messages
[flightgear.git] / src / Main / options.hxx
index f6f23b0d420b337a44c124b94c81435f718143af..4f618213b55c45afc80bca1df8171f012f261e9f 100644 (file)
@@ -101,7 +101,14 @@ public:
     * This can be used to inject option values, eg based upon environment variables
     */
   int addOption(const std::string& key, const std::string& value);
-  
+
+  /**
+   * set an option, overwriting any existing value which might be set
+   */
+  int setOption(const std::string& key, const std::string& value);
+
+  void clearOption(const std::string& key);
+
   /**
    * apply option values to the simulation state
    * (set properties, etc).