diff options
Diffstat (limited to 'src/bindings.hh')
| -rw-r--r-- | src/bindings.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bindings.hh b/src/bindings.hh index 9d55b751..c51d46be 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -63,7 +63,6 @@ private: otk::OBTimer _timer; PyObject *find(BindingTree *search, bool *conflict) const; - bool translate(const std::string &str, Binding &b) const; BindingTree *buildtree(const StringVect &keylist, PyObject *callback) const; void assimilate(BindingTree *node); @@ -75,6 +74,9 @@ public: //! Destroys the OBBinding object virtual ~OBBindings(); + //! Translates a binding string into the actual Binding + bool translate(const std::string &str, Binding &b, bool askey = true) const; + //! Adds a new key binding /*! A binding will fail to be added if the binding already exists (as part of |
