diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-01-15 18:20:18 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-01-15 18:20:18 +0000 |
commit | a36b1d4083e5cf34df1b217516be28471e7d0dc7 (patch) | |
tree | 629bb610d0ffcc451d3b0383f62daaed7d602603 /apps/plugins/bounce.c | |
parent | c7c9069ed4bda959e649520342017d826123931e (diff) | |
download | rockbox-a36b1d4083e5cf34df1b217516be28471e7d0dc7.tar.gz rockbox-a36b1d4083e5cf34df1b217516be28471e7d0dc7.zip |
New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r-- | apps/plugins/bounce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index 2a2d520371..7b59841055 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c | |||
@@ -21,6 +21,8 @@ | |||
21 | 21 | ||
22 | #ifdef HAVE_LCD_BITMAP | 22 | #ifdef HAVE_LCD_BITMAP |
23 | 23 | ||
24 | PLUGIN_HEADER | ||
25 | |||
24 | #define SS_TITLE "Bouncer" | 26 | #define SS_TITLE "Bouncer" |
25 | #define SS_TITLE_FONT 2 | 27 | #define SS_TITLE_FONT 2 |
26 | 28 | ||
@@ -443,7 +445,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
443 | char *off = "[Off] to stop"; | 445 | char *off = "[Off] to stop"; |
444 | int len; | 446 | int len; |
445 | 447 | ||
446 | TEST_PLUGIN_API(api); | ||
447 | (void)(parameter); | 448 | (void)(parameter); |
448 | rb = api; | 449 | rb = api; |
449 | 450 | ||