forked from len0rd/rockbox
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
This commit is contained in:
parent
0fef85e9db
commit
2cdf332f01
5 changed files with 83 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue