Index: trunk/src/action.c =================================================================== --- trunk/src/action.c (revision 1099) +++ trunk/src/action.c (revision 1100) @@ -1644,15 +1644,6 @@ return 0; } -/* --------------------------------------------------------------------------- - * no operation, just for testing purposes - * syntax: Bell(volume) - */ -void ActionBell(char *volume) -{ - gui->beep(); -} - /* --------------------------------------------------------------------------- */ static const char executefile_syntax[] = "ExecuteFile(filename)"; Index: trunk/src_plugins/oldactions/oldactions.c =================================================================== --- trunk/src_plugins/oldactions/oldactions.c (revision 1099) +++ trunk/src_plugins/oldactions/oldactions.c (revision 1100) @@ -67,9 +67,27 @@ return 0; } +/* --------------------------------------------------------------------------- + * no operation, just for testing purposes + * syntax: Bell(volume) + */ +static const char bell_syntax[] = "Bell()"; + +static const char bell_help[] = "Attempt to produce audible notification (e.g. beep the speaker)."; + +static int ActionBell(int argc, char **argv, Coord x, Coord y) +{ + gui->beep(); + return 0; +} + + HID_Action oldactions_action_list[] = { {"DumpLibrary", 0, ActionDumpLibrary, dumplibrary_help, dumplibrary_syntax} + , + {"Bell", 0, ActionBell, + bell_help, bell_syntax} }; REGISTER_ACTIONS(oldactions_action_list)