rockbox/apps/plugins
Thomas Martitz 470989bd70 events: Rework event subsystem (add_event, send_event) to be more versatile.
add_event_ex is added that takes an extra user_data pointer. This pointer is
passed to the callback (add_event and add_event_ex have slightly different
callbacks types). All callbacks also get the event id passed. Events added
with add_event_ex must be removed with remove_event_ex because the user_data
pointer must match in addition to the callback pointer.

On the other add_event is simplified to omit the oneshort parameter which
was almost always false (still there with add_event_ex).

As a side effect the ata_idle_notify callbacks are changed as well, they
do not take a data parameter anymore which was always NULL anyway.

This commit also adds some documentation to events.h

Change-Id: I13e29a0f88ef908f175b376d83550f9e0231f772
2014-03-14 23:36:30 +01:00
..
beatbox Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
bitmaps Created graphics for the numbers in Sudoku and fixed layout for Sansa Clip Zip. 2013-01-27 13:57:27 +01:00
chessbox hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
clock Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
doom hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
fft Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
fractals hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
frotz Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
goban hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
imageviewer imageviewer: fix animated gifs handling 2013-04-18 09:42:48 +02:00
lib Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
lua lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. 2014-01-07 14:13:48 +01:00
midi plugin_midi: expand gustable[] to 128 entries 2013-06-16 18:33:57 +02:00
mikmod Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
mpegplayer events: Rework event subsystem (add_event, send_event) to be more versatile. 2014-03-14 23:36:30 +01:00
pacbox Pacbox: add fuze+ to the targets that can manage full frames 2012-11-21 11:26:39 +01:00
pdbox Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
pictureflow Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
reversi Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
rockboy rockbox: Improve button repeat handling. 2014-01-18 23:06:55 +01:00
searchengine
shortcuts plugins: another round of making local functions static 2011-10-15 20:38:08 +00:00
sudoku hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
text_viewer Fixed bug where exiting textviewer after using up all the bookmarks caused that file unable to be read the next time. 2014-02-07 17:57:17 +01:00
zxbox hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
alarmclock.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
alpine_cdc.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
battery_bench.c events: Rework event subsystem (add_event, send_event) to be more versatile. 2014-03-14 23:36:30 +01:00
bench_mem_jpeg.c
bench_scaler.c
blackjack.c blackjack: c200 keymap is identical to clip keymap 2013-02-18 09:20:27 +01:00
boomshine.lua scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
bounce.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
brickmania.c brickmania: Disable resuming after game over 2012-04-30 12:06:05 +02:00
bubbles.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
BUILD_OVERLAY
calculator.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
calendar.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
CATEGORIES main_menu_config: New plugin to configur the main menu order 2014-02-13 22:11:23 +11:00
chessbox.c
chessclock.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
chip8.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
chopper.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
clix.c Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
codebuster.c
credits.c
credits.pl
crypt_firmware.c
cube.c Cube plugin fix 2013-08-12 10:35:48 +02:00
demystify.c plugins: another round of making local functions static 2011-10-15 20:38:08 +00:00
dice.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
dict.c plugins: make local functions static for a subset of plugins 2011-09-17 17:20:27 +00:00
disktidy.c disktidy: don't use "abort" for variable name as it might conflict 2011-12-14 04:42:03 +00:00
disktidy.config Revert r31239 and r31250. Selecting ALL in disktidy used to be generally safe for most people, and these changes change that, making it easy to delete most or all of a user's music. This is a *very* bad idea. 2011-12-26 00:03:28 +00:00
elfdep.pl
euroconverter.c
fire.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
fireworks.c fireworks: ues PLA_EXIT to exit without going through the menu. 2012-02-24 15:06:18 +01:00
firmware_flash.c
flipit.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
goban.c
greyscale.c
helloworld.c
helloworld.lua
invadrox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
iriver_flash.c
iriverify.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
jackpot.c plugins: another round of making local things static and adding missing #includes 2011-12-28 11:32:13 +00:00
jewels.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
keybox.c hosted: Rename a bit in functions to avoid name clashes with unix headers. 2014-02-23 23:36:11 +01:00
lamp.c Additional colors for lamp.rock 2013-02-04 09:08:16 +01:00
logo.c Plugin logo PLA integration (code + manual) 2012-03-03 12:05:58 +01:00
lrcplayer.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
main_menu_config.c fix red, strtok_r being annoying on sim builds 2014-02-13 22:24:29 +11:00
matrix.c matrix plugin: Fix out-of-bounds array access. Unify for-loop style. 2012-06-03 23:37:33 +02:00
maze.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
mazezam.c
md5sum.c
metronome.c Tweak paramters of mp3_play_data and callback. 2012-03-04 14:50:47 -05:00
minesweeper.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
mosaique.c Plugin mosaique PLA integration (code + manual) 2012-03-03 16:37:47 +01:00
mp3_encoder.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
nim.c
oscilloscope.c Oscilloscope: Fix loading of the speed setting for waveform view 2014-03-06 19:10:46 -05:00
pegbox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
pictureflow.c
pitch_detector.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
plasma.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
plugin.lds Fix .ncbss from possibly overlapping .ncdata in plugins/codecs. 2013-07-11 04:32:23 -04:00
plugin_crt0.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
plugins.make Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
pong.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
properties.c Use two lined display in properties. 2012-04-09 18:56:08 +02:00
random_folder_advance_config.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
remote_control.c
resistor.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
robotfindskitten.c
rockblox.c rockblox: Fix compilation under recent mingw-w64-gcc. 2014-01-17 11:14:00 +01:00
rockblox1d.c rockblox1d's plugin PLA integration (main code + manual) 2012-02-18 23:57:22 +01:00
rockbox-fonts.config
rockbox_flash.c Improve rockbox_flash messages 2012-02-05 16:26:09 +01:00
rockboy.c
rocklife.c plugins: another round of making local functions static 2011-10-15 20:38:08 +00:00
rockpaint.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
search.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
settings_dumper.c EQ settings: Rework the settings to clean up the config file. 2013-02-09 13:05:32 +01:00
shopper.c plugins: make local functions static for a subset of plugins 2011-09-17 17:20:27 +00:00
sliding_puzzle.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
snake.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
snake2.c snake2: clip/m200 use same keypad than e200/c200 2013-02-18 09:20:27 +01:00
snake2.levels
snow.c Plugin snow PLA integration (code + manual) 2012-03-03 10:48:22 +01:00
sokoban.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
sokoban.levels
solitaire.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
sort.c plugins: make local functions static for a subset of plugins 2011-09-17 17:20:27 +00:00
SOURCES main_menu_config: New plugin to configur the main menu order 2014-02-13 22:11:23 +11:00
SOURCES.app_build clix: Add cells for 320x480. Enable for touchscreen RaaA. 2012-01-30 00:51:43 +01:00
spacerocks.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
splitedit.c splitedit: Adapt put_line(). 2014-01-07 14:13:40 +01:00
star.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
starfield.c Clean up peak calculating code. 2012-05-02 20:53:07 -04:00
stats.c stats's plugin PLA integration (main code + manual) 2012-02-22 09:15:50 +01:00
stopwatch.c Fix stop watch plugin from inserting 0 second laps if a new lap is started with the timer off. 2012-06-14 04:24:54 +02:00
stopwatch.lua stopwatch.lua: Improve button layout. Enable on touchscreen RaaA. 2012-01-29 22:35:49 +01:00
SUBDIRS hm60x: Add support for plugins. 2012-04-19 17:31:13 +04:00
SUBDIRS.app_build reversi: Fix viewport initialization. Improve button layout for portrait. Enable for toucschreen RaaA. 2012-01-30 00:17:47 +01:00
superdom.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
test_boost.c
test_codec.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
test_core_jpeg.c
test_disk.c test_disk: Add an additional dirscan test that calls dir_get_info() also. 2014-02-25 09:57:18 +01:00
test_fps.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_gfx.c test_gfx: Add benchmark for put_line(). 2014-01-07 14:13:41 +01:00
test_grey.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_greylib_bitmap_scale.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_mem.c test_mem: silence -Wunused-but-set-variable warning 2013-06-13 18:56:23 +02:00
test_mem_jpeg.c
test_resize.c
test_sampr.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
test_scanrate.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_touchscreen.c [ONDAV VX777][simulator] fix missing keymaps in test_touchscreen 2013-07-29 19:07:19 +02:00
test_viewports.c lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. 2014-01-07 14:13:48 +01:00
test_viewports.lua
text_editor.c Don't reinvent ctype.h functions 2012-05-07 18:43:12 +02:00
theme_remove.c
vbrfix.c GSoC/Buflib: Replace all direct accesses to audiobuf with buffer API functions. 2011-08-14 15:13:00 +00:00
video.c Tweak paramters of mp3_play_data and callback. 2012-03-04 14:50:47 -05:00
viewers.config imageviewer: gif viewer based on giflib-5.0.2 2012-11-13 18:13:10 +01:00
vu_meter.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
wav2wv.c
wavplay.c
wavrecord.c
wavview.c plugins: make local functions static for metronome, rockblox1d, wavview 2011-10-04 19:33:52 +00:00
wormlet.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
xobox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
zxbox.c