diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-11-10 14:13:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-10 14:13:46 +0100 |
commit | 65804e73eaed005b0f8114e5c6f03fa59341a2bc (patch) | |
tree | 293df2bec18223dda8cffbc6c70c50be6ced24dc /src/ncmpc.h | |
parent | 237fc6e8d2a4e6d1b958fbd40322a8b99b9525d2 (diff) | |
download | mpd-65804e73eaed005b0f8114e5c6f03fa59341a2bc.tar.gz mpd-65804e73eaed005b0f8114e5c6f03fa59341a2bc.tar.xz mpd-65804e73eaed005b0f8114e5c6f03fa59341a2bc.zip |
lirc: refactored event handler
* moved lirc_event to lirc.c and split out the parts that depend on
variables in main.c into three separate functions
* changed keyboard_event accordingly to avoid duplicate code
* merged lirc_event with ncmpc_lirc_get_command
Diffstat (limited to 'src/ncmpc.h')
-rw-r--r-- | src/ncmpc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h index 6748c779b..9e4703b57 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -1,7 +1,13 @@ #ifndef NCMPC_H #define NCMPC_H +#include "command.h" + void sigstop(void); +void begin_input_event(void); +void end_input_event(void); +int do_input_event(command_t cmd); + #endif /* NCMPC_H */ |