diff options
author | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-24 15:17:42 +0000 |
commit | b3c6751b9b7fc1401fd5e87a034cdaec92b67b20 (patch) | |
tree | aa00dba58fb88ea2e095b886963370c7290c692b /backends/keymapper/action.h | |
parent | 7c1eb057146af11793c627327f3fefe309d27fbb (diff) | |
download | scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.gz scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.tar.bz2 scummvm-rg350-b3c6751b9b7fc1401fd5e87a034cdaec92b67b20.zip |
Strip trailing whitespaces in the whole code base.
svn-id: r40867
Diffstat (limited to 'backends/keymapper/action.h')
-rw-r--r-- | backends/keymapper/action.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/keymapper/action.h b/backends/keymapper/action.h index 04d8dd4067..31576e2960 100644 --- a/backends/keymapper/action.h +++ b/backends/keymapper/action.h @@ -63,12 +63,12 @@ private: Keymap *_boss; public: - Action(Keymap *boss, const char *id, String des = "", + Action(Keymap *boss, const char *id, String des = "", ActionType typ = kGenericActionType, KeyType prefKey = kGenericKeyType, int pri = 0, int flg = 0 ); - void addEvent(const Event &evt) { + void addEvent(const Event &evt) { events.push_back(evt); } @@ -101,7 +101,7 @@ public: addEvent(evt); } - Keymap *getParent() { + Keymap *getParent() { return _boss; } @@ -111,10 +111,10 @@ public: }; struct ActionPriorityComp : public BinaryFunction<Action, Action, bool> { - bool operator()(const Action *x, const Action *y) const { + bool operator()(const Action *x, const Action *y) const { return x->priority > y->priority; } - bool operator()(const Action &x, const Action &y) const { + bool operator()(const Action &x, const Action &y) const { return x.priority > y.priority; } }; |