]> Dogcows Code - chaz/openbox/blobdiff - util/epist/parser.hh
unignore yacc/lex generated files. we don't want to ignore these.
[chaz/openbox] / util / epist / parser.hh
index 1e70d6ee0deac158b79ea3b9983944afec722911..b1c02a319a0d03c397be3d49ea34a66958078c6e 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); }
 
@@ -67,6 +73,7 @@ private:
   Action::ActionType _action;
   std::string _key;
   std::string _arg;
+  bool _add;
 };
 
 #endif //__parser_hh
This page took 0.023146 seconds and 4 git commands to generate.