]> Dogcows Code - chaz/openbox/blobdiff - util/epist/actions.cc
handle all combinations of lock modifiers on keypress
[chaz/openbox] / util / epist / actions.cc
index ac4fc4ab0c842372b80680bf1d7a81531a6061e2..35ddbb80976c8a962d35ea11ac233cbbc6a48c6a 100644 (file)
 
 #include "actions.hh"
 
-Action::Action(enum ActionType type, KeyCode keycode, int modifierMask,
-               int num): _type(type), _keycode(keycode),
-                         _modifierMask(modifierMask), _numberParam(num)
+Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask,
+               int num)
+  : _type(type), _keycode(keycode),
+    _modifierMask(modifierMask), _numberParam(num)
+{ }
+
+Action::Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask,
+               const std::string &str)
+  : _type(type), _keycode(keycode),
+    _modifierMask(modifierMask), _stringParam(str)
 { }
This page took 0.02454 seconds and 4 git commands to generate.