X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fparser.hh;h=d106f16d669d9c0c52a241d202c353614cf3a166;hb=d691094cf75832e047dae8be5f78913e6d2adc75;hp=c12fec9211ca48034d587a004ed397fddc91c641;hpb=d65127c22558c67ea5e3688ce905ff6013c27a11;p=chaz%2Fopenbox diff --git a/util/epist/parser.hh b/util/epist/parser.hh index c12fec92..d106f16d 100644 --- a/util/epist/parser.hh +++ b/util/epist/parser.hh @@ -36,9 +36,6 @@ public: void parse(std::string); - void setKey(std::string key) - { _key = key; } - void setArgumentNum(std::string arg) { _arg = arg; } @@ -57,6 +54,7 @@ public: void setOption(std::string opt) { _config->addOption(opt, _arg); } + void setKey(std::string); void setAction(std::string); void addModifier(std::string); void endAction(); @@ -73,6 +71,7 @@ private: Action::ActionType _action; std::string _key; std::string _arg; + bool _add; }; #endif //__parser_hh