]> Dogcows Code - chaz/openbox/commitdiff
Added functions for setting boolean parameters
authorMarius Nita <marius@cs.pdx.edu>
Mon, 26 Aug 2002 06:40:21 +0000 (06:40 +0000)
committerMarius Nita <marius@cs.pdx.edu>
Mon, 26 Aug 2002 06:40:21 +0000 (06:40 +0000)
util/epist/parser.hh

index 1e70d6ee0deac158b79ea3b9983944afec722911..c12fec9211ca48034d587a004ed397fddc91c641 100644 (file)
@@ -48,6 +48,12 @@ public:
   void setArgumentStr(std::string arg)
   { _arg = arg.substr(1, arg.size() - 2); }
 
+  void setArgumentTrue(std::string)
+  { _arg = "true"; }
+
+  void setArgumentFalse(std::string)
+  { _arg = "false"; }
+
   void setOption(std::string opt)
   { _config->addOption(opt, _arg); }
 
This page took 0.026525 seconds and 4 git commands to generate.