From 2cdf332f01bf3a9904f8322596bb81740ea3fe6b Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Fri, 2 Jul 2010 12:16:47 +0000 Subject: text viewer: for tv_action and tv_bookmark, the prototype of the initializer is the same arguments as other modules. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27243 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_viewer/tv_bookmark.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'apps/plugins/text_viewer/tv_bookmark.h') diff --git a/apps/plugins/text_viewer/tv_bookmark.h b/apps/plugins/text_viewer/tv_bookmark.h index d61af41620..b0b91077d4 100644 --- a/apps/plugins/text_viewer/tv_bookmark.h +++ b/apps/plugins/text_viewer/tv_bookmark.h @@ -30,8 +30,23 @@ /* Maximum amount of register possible bookmarks */ #define TV_MAX_BOOKMARKS 16 -/* initialize the bookmark module */ -void tv_init_bookmark(void); +/* + * initialize the bookmark module + * + * [In/Out] buf + * the start pointer of the buffer + * + * [In/Out] size + * buffer size + * + * return + * true initialize success + * false initialize failure + */ +bool tv_init_bookmark(unsigned char **buf, size_t *size); + +/* finalize the bookmark module */ +void tv_finalize_bookmark(void); /* * get the positions which registered bookmarks -- cgit v1.2.3