]> Dogcows Code - chaz/openbox/blob - util/epist/parser.hh
fix std:: namespace problems
[chaz/openbox] / util / epist / parser.hh
1 #include "actions.hh"
2 #include "keytree.hh"
3
4 #include <string>
5
6 class parser {
7 public:
8 parser(keytree *);
9 ~parser();
10
11 void parse(std::string);
12
13 void setKey(std::string key)
14 { _key = key; }
15
16 void setArgument(std::string arg)
17 { _arg = arg; }
18
19 void setAction(std::string);
20 void addModifier(std::string);
21 void endAction();
22 void startChain();
23 void setChainBinding();
24 void endChain();
25
26 private:
27 void reset();
28
29 keytree *_kt;
30 unsigned int _mask;
31 Action::ActionType _action;
32 std::string _key;
33 std::string _arg;
34 };
This page took 0.043392 seconds and 5 git commands to generate.