diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 15:09:41 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 15:09:41 +0000 |
| commit | 2287dd9daaf62e8624755c41f2a0571c5b9d3357 (patch) | |
| tree | 4cc9346e7430a667cb8521b8d2ee285470efff73 /apps/plugin.c | |
| parent | 3b75c86d74937a6bffcb371bb08bdfb182db9d2b (diff) | |
| download | rockbox-2287dd9daaf62e8624755c41f2a0571c5b9d3357.zip rockbox-2287dd9daaf62e8624755c41f2a0571c5b9d3357.tar.gz rockbox-2287dd9daaf62e8624755c41f2a0571c5b9d3357.tar.bz2 rockbox-2287dd9daaf62e8624755c41f2a0571c5b9d3357.tar.xz | |
Remove find_albumart() from the plugin API as it doesn't exist for them.
Remove lcd_set_viewport() too, and replace the calls with the appropriate multi-screen api calls as calling lcd_* functions should be avoided in favor of the api.
Bump API version and sort a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22140 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 52565b8..d66cccb 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -367,6 +367,9 @@ static const struct plugin_api rockbox_api = { queue_reply, #endif usb_acknowledge, +#if defined(HAVE_USBSTACK) && defined(USB_ENABLE_HID) + usb_hid_send, +#endif #ifdef RB_PROFILE profile_thread, profstop, @@ -651,7 +654,6 @@ static const struct plugin_api rockbox_api = { #endif #ifdef HAVE_ALBUMART - find_albumart, search_albumart_files, #endif @@ -665,11 +667,6 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ -#if defined(HAVE_USBSTACK) && defined(USB_ENABLE_HID) - usb_hid_send, -#endif - - lcd_set_viewport, }; int plugin_load(const char* plugin, const void* parameter) |