summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-04-03 08:51:08 +0000
committerHristo Kovachev <bger@rockbox.org>2006-04-03 08:51:08 +0000
commit38deb8f13a9896f2d6eb884c6a8bbc9b10001255 (patch)
tree6e0b2629bec1f6ebd83671230652da304dcf0ff8 /apps/plugin.c
parentdefbc69b2b2a576d06e718deef73aa41b5376390 (diff)
downloadrockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.tar.gz
rockbox-38deb8f13a9896f2d6eb884c6a8bbc9b10001255.zip
Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.
Also correct a var clash between the rockbox's gui api and doom plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6cbda49a48..57bc09530a 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -52,6 +52,7 @@
52#include "sound.h" 52#include "sound.h"
53#include "database.h" 53#include "database.h"
54#include "splash.h" 54#include "splash.h"
55#include "list.h"
55#if (CONFIG_CODEC == SWCODEC) 56#if (CONFIG_CODEC == SWCODEC)
56#include "pcm_playback.h" 57#include "pcm_playback.h"
57#include "dsp.h" 58#include "dsp.h"
@@ -412,6 +413,27 @@ static const struct plugin_api rockbox_api = {
412 413
413 vsnprintf, 414 vsnprintf,
414 memchr, 415 memchr,
416 /* list */
417 gui_synclist_init,
418 gui_synclist_set_nb_items,
419 gui_synclist_set_icon_callback,
420 gui_synclist_get_nb_items,
421 gui_synclist_get_sel_pos,
422 gui_synclist_draw,
423 gui_synclist_select_item,
424 gui_synclist_select_next,
425 gui_synclist_select_previous,
426 gui_synclist_select_next_page,
427 gui_synclist_select_previous_page,
428 gui_synclist_add_item,
429 gui_synclist_del_item,
430 gui_synclist_limit_scroll,
431 gui_synclist_flash,
432#ifdef HAVE_LCD_BITMAP
433 gui_synclist_scroll_right,
434 gui_synclist_scroll_left,
435#endif
436 gui_synclist_do_button,
415}; 437};
416 438
417int plugin_load(const char* plugin, void* parameter) 439int plugin_load(const char* plugin, void* parameter)