summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_bookmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_bookmark.c')
-rw-r--r--apps/plugins/text_viewer/tv_bookmark.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_bookmark.c b/apps/plugins/text_viewer/tv_bookmark.c
index 7e38d766ec..c6574dbb6f 100644
--- a/apps/plugins/text_viewer/tv_bookmark.c
+++ b/apps/plugins/text_viewer/tv_bookmark.c
@@ -110,9 +110,18 @@ static int tv_change_preferences(const struct tv_preferences *oldp)
110 return TV_CALLBACK_OK; 110 return TV_CALLBACK_OK;
111} 111}
112 112
113void tv_init_bookmark(void) 113bool tv_init_bookmark(unsigned char **buf, size_t *size)
114{ 114{
115 (void)buf;
116 (void)size;
117
115 tv_add_preferences_change_listner(tv_change_preferences); 118 tv_add_preferences_change_listner(tv_change_preferences);
119 return true;
120}
121
122void tv_finalize_bookmark(void)
123{
124 /* no-operation function */
116} 125}
117 126
118int tv_get_bookmark_positions(struct tv_screen_pos *pos_array) 127int tv_get_bookmark_positions(struct tv_screen_pos *pos_array)