Mercurial > geeqie
annotate src/view_file.c @ 560:ebb2c2b1454d
Add function prototypes (yet unused).
author | zas_ |
---|---|
date | Sat, 03 May 2008 12:50:52 +0000 |
parents | 2da72a136070 |
children | 4dee80352786 |
rev | line source |
---|---|
554
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
1 /* |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
2 * Geeqie |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
3 * Copyright (C) 2008 The Geeqie Team |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
4 * |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
5 * Author: Laurent Monin |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
6 * |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
7 * This software is released under the GNU General Public License (GNU GPL). |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
8 * Please read the included file COPYING for more information. |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
9 * This software comes with no warranty of any kind, use at your own risk! |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
10 */ |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
11 |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
12 #include "main.h" |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
13 #include "view_file.h" |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
14 |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
15 #include "debug.h" |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
16 #include "view_file_list.h" |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
17 #include "view_file_icon.h" |
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
18 |
560 | 19 ViewFile *vf_new(const gchar *path); |
554
2da72a136070
Prepare merging of some parts of view_file_list and view_file_icon and
zas_
parents:
diff
changeset
|
20 |
560 | 21 void vf_set_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gpointer data), gpointer data); |
22 void vf_set_thumb_status_func(ViewFile *vf, void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), gpointer data); | |
23 | |
24 void vf_set_layout(ViewFile *vf, LayoutWindow *layout); | |
25 | |
26 gint vf_set_path(ViewFile *vf, const gchar *path); | |
27 gint vf_refresh(ViewFile *vf); | |
28 | |
29 void vf_thumb_set(ViewFile *vf, gint enable); | |
30 void vf_marks_set(ViewFile *vf, gint enable); | |
31 void vf_sort_set(ViewFile *vf, SortType type, gint ascend); | |
32 | |
33 FileData *vf_index_get_data(ViewFile *vf, gint row); | |
34 gchar *vf_index_get_path(ViewFile *vf, gint row); | |
35 gint vf_index_by_path(ViewFile *vf, const gchar *path); | |
36 gint vf_index_by_fd(ViewFile *vf, FileData *in_fd); | |
37 gint vf_count(ViewFile *vf, gint64 *bytes); | |
38 GList *vf_get_list(ViewFile *vf); | |
39 | |
40 gint vf_index_is_selected(ViewFile *vf, gint row); | |
41 gint vf_selection_count(ViewFile *vf, gint64 *bytes); | |
42 GList *vf_selection_get_list(ViewFile *vf); | |
43 GList *vf_selection_get_list_by_index(ViewFile *vf); | |
44 | |
45 void vf_select_all(ViewFile *vf); | |
46 void vf_select_none(ViewFile *vf); | |
47 void vf_select_by_path(ViewFile *vf, const gchar *path); | |
48 void vf_select_by_fd(ViewFile *vf, FileData *fd); | |
49 | |
50 void vf_mark_to_selection(ViewFile *vf, gint mark, MarkToSelectionMode mode); | |
51 void vf_selection_to_mark(ViewFile *vf, gint mark, SelectionToMarkMode mode); | |
52 | |
53 void vf_select_marked(ViewFile *vf, gint mark); | |
54 void vf_mark_selected(ViewFile *vf, gint mark, gint value); | |
55 | |
56 gint vf_maint_renamed(ViewFile *vf, FileData *fd); | |
57 gint vf_maint_removed(ViewFile *vf, FileData *fd, GList *ignore_list); | |
58 gint vf_maint_moved(ViewFile *vf, FileData *fd, GList *ignore_list); | |
59 |