1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Jonathan Gordon
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
23 #ifndef __PLUGINLIB_ACTIONS_H__
24 #define __PLUGINLIB_ACTIONS_H__
30 /* PLA stands for Plugin Lib Action :P */
32 PLA_UP
= LAST_ACTION_PLACEHOLDER
+1,
55 #if defined(HAVE_REMOTE_LCD)
56 extern const struct button_mapping remote_directions
[];
58 extern const struct button_mapping generic_directions
[];
59 extern const struct button_mapping generic_left_right_fire
[];
60 extern const struct button_mapping generic_actions
[];
61 extern const struct button_mapping generic_increase_decrease
[];
63 int pluginlib_getaction(int timeout
,
64 const struct button_mapping
*plugin_contexts
[],
67 #endif /* __PLUGINLIB_ACTIONS_H__ */