diff options
Diffstat (limited to 'backends/keymapper/action.h')
-rw-r--r-- | backends/keymapper/action.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/backends/keymapper/action.h b/backends/keymapper/action.h index bf3773b7e3..3132260512 100644 --- a/backends/keymapper/action.h +++ b/backends/keymapper/action.h @@ -53,9 +53,6 @@ struct Action { /** Events to be sent when mapped key is pressed */ List<Event> events; - int priority; - int group; - int flags; private: /** Hardware key that is mapped to this Action */ @@ -63,8 +60,7 @@ private: Keymap *_boss; public: - Action(Keymap *boss, const char *id, String des = "", - int pri = 0, int flg = 0 ); + Action(Keymap *boss, const char *id, String des = ""); void addEvent(const Event &evt) { events.push_back(evt); @@ -106,15 +102,6 @@ public: }; -struct ActionPriorityComp : public BinaryFunction<Action, Action, bool> { - bool operator()(const Action *x, const Action *y) const { - return x->priority > y->priority; - } - bool operator()(const Action &x, const Action &y) const { - return x.priority > y.priority; - } -}; - } // End of namespace Common #endif // #ifdef ENABLE_KEYMAPPER |