diff options
Diffstat (limited to 'apps/plugins/textviewer/tv_bookmark.h')
-rw-r--r-- | apps/plugins/textviewer/tv_bookmark.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/apps/plugins/textviewer/tv_bookmark.h b/apps/plugins/textviewer/tv_bookmark.h deleted file mode 100644 index 4d8e7fc3e8..0000000000 --- a/apps/plugins/textviewer/tv_bookmark.h +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Gilles Roux | ||
11 | * 2003 Garrett Derner | ||
12 | * 2010 Yoshihisa Uchida | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | #ifndef PLUGIN_TEXT_VIEWER_BOOKMARK_H | ||
24 | #define PLUGIN_TEXT_VIEWER_BOOKMARK_H | ||
25 | |||
26 | /* stuff for the bookmarking */ | ||
27 | struct bookmark_info { | ||
28 | long file_position; | ||
29 | int page; | ||
30 | int line; | ||
31 | unsigned char flag; | ||
32 | }; | ||
33 | |||
34 | int viewer_find_bookmark(int page, int line); | ||
35 | void viewer_add_remove_bookmark(int page, int line); | ||
36 | void viewer_add_bookmark(int page, int line); | ||
37 | void viewer_remove_last_read_bookmark(void); | ||
38 | void viewer_select_bookmark(int initval); | ||
39 | |||
40 | bool viewer_read_bookmark_infos(int fd); | ||
41 | bool viewer_write_bookmark_infos(int fd); | ||
42 | bool copy_bookmark_file(int sfd, int dfd, off_t start, off_t size); | ||
43 | |||
44 | #endif | ||