diff options
author | 2014-03-30 13:13:35 -0700 | |
---|---|---|
committer | 2014-03-30 16:58:46 -0700 | |
commit | bd895aa76c318ab3bc1b2d7d43d05fd7a2ccdf84 (patch) | |
tree | c103814b85880b3887113f41c5a73b247911f9da /input.h | |
parent | d4fafeb6d66e415e85c67700e5a370765c09bb93 (diff) |
Changes to bind_mode implementation based on code review and merge
errors
Diffstat (limited to 'input.h')
-rw-r--r-- | input.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -128,9 +128,9 @@ void input_mapping_add(const wchar_t *sequence, const wchar_t **commands, size_t const wchar_t *mode = DEFAULT_BIND_MODE, const wchar_t *new_mode = DEFAULT_BIND_MODE); /** - Insert all mapping names into the specified wcstring_list_t + Returns all mapping names */ -void input_mapping_get_names(wcstring_list_t &lst); +wcstring_list_t input_mapping_get_names(); /** Erase binding for specified key sequence @@ -140,17 +140,17 @@ bool input_mapping_erase(const wchar_t *sequence, const wchar_t *mode = DEFAULT_ /** Gets the command bound to the specified key sequence. Returns true if it exists, false if not. */ -bool input_mapping_get(const wcstring &sequence, std::vector<wcstring> &cmds, wcstring &mode, wcstring &new_mode); +bool input_mapping_get(const wcstring &sequence, wcstring_list_t *out_cmds, wcstring *out_mode, wcstring *out_new_mode); /** Return the current bind mode */ -const wchar_t *input_get_bind_mode(); +wcstring input_get_bind_mode(); /** Set the current bind mode */ -bool input_set_bind_mode(const wchar_t *bind_mode); +void input_set_bind_mode(const wcstring &bind_mode); wchar_t input_function_pop_arg(); |