summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_bookmark.h
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-07-02 12:16:47 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-07-02 12:16:47 +0000
commit2cdf332f01bf3a9904f8322596bb81740ea3fe6b (patch)
tree25f1f2826798ed0812000a86256a8c35a9782355 /apps/plugins/text_viewer/tv_bookmark.h
parent0fef85e9dbdc31c593ffda7b3d4f8062eec503f2 (diff)
downloadrockbox-2cdf332f01bf3a9904f8322596bb81740ea3fe6b.tar.gz
rockbox-2cdf332f01bf3a9904f8322596bb81740ea3fe6b.zip
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
Diffstat (limited to 'apps/plugins/text_viewer/tv_bookmark.h')
-rw-r--r--apps/plugins/text_viewer/tv_bookmark.h19
1 files changed, 17 insertions, 2 deletions
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 @@
30/* Maximum amount of register possible bookmarks */ 30/* Maximum amount of register possible bookmarks */
31#define TV_MAX_BOOKMARKS 16 31#define TV_MAX_BOOKMARKS 16
32 32
33/* initialize the bookmark module */ 33/*
34void tv_init_bookmark(void); 34 * initialize the bookmark module
35 *
36 * [In/Out] buf
37 * the start pointer of the buffer
38 *
39 * [In/Out] size
40 * buffer size
41 *
42 * return
43 * true initialize success
44 * false initialize failure
45 */
46bool tv_init_bookmark(unsigned char **buf, size_t *size);
47
48/* finalize the bookmark module */
49void tv_finalize_bookmark(void);
35 50
36/* 51/*
37 * get the positions which registered bookmarks 52 * get the positions which registered bookmarks