comparison src/bar_info.h @ 138:71e1ebee420e

replaced gchar* path with FileData *fd
author nadvornik
date Tue, 11 Sep 2007 20:06:29 +0000
parents d907d608745f
children 0584cb78aa14
comparison
equal deleted inserted replaced
137:be3328a58875 138:71e1ebee420e
12 12
13 #ifndef BAR_INFO_H 13 #ifndef BAR_INFO_H
14 #define BAR_INFO_H 14 #define BAR_INFO_H
15 15
16 16
17 GtkWidget *bar_info_new(const gchar *path, gint metadata_only, GtkWidget *bounding_widget); 17 GtkWidget *bar_info_new(FileData *fd, gint metadata_only, GtkWidget *bounding_widget);
18 void bar_info_close(GtkWidget *bar); 18 void bar_info_close(GtkWidget *bar);
19 19
20 void bar_info_set(GtkWidget *bar, const gchar *path); 20 void bar_info_set(GtkWidget *bar, FileData *fd);
21 gint bar_info_event(GtkWidget *bar, GdkEvent *event); 21 gint bar_info_event(GtkWidget *bar, GdkEvent *event);
22 22
23 void bar_info_set_selection_func(GtkWidget *bar, GList *(*list_func)(gpointer data), gpointer data); 23 void bar_info_set_selection_func(GtkWidget *bar, GList *(*list_func)(gpointer data), gpointer data);
24 void bar_info_selection(GtkWidget *bar, gint count); 24 void bar_info_selection(GtkWidget *bar, gint count);
25 25
26 void bar_info_size_request(GtkWidget *bar, gint width); 26 void bar_info_size_request(GtkWidget *bar, gint width);
27 27
28 void bar_info_maint_renamed(GtkWidget *bar, const gchar *path); 28 void bar_info_maint_renamed(GtkWidget *bar, FileData *fd);
29 29
30 gint comment_write(const gchar *path, GList *keywords, const gchar *comment); 30 gint comment_write(gchar *path, GList *keywords, const gchar *comment);
31 gint comment_cache_write(const gchar *path, GList *keywords, const gchar *comment); 31 gint comment_cache_write(FileData *fd, GList *keywords, const gchar *comment);
32 32
33 gint comment_read(const gchar *path, GList **keywords, gchar **comment); 33 gint comment_read(gchar *path, GList **keywords, gchar **comment);
34 gint comment_cache_read(const gchar *path, GList **keywords, gchar **comment); 34 gint comment_cache_read(FileData *fd, GList **keywords, gchar **comment);
35 35
36 GList *keyword_list_pull(GtkWidget *text_widget); 36 GList *keyword_list_pull(GtkWidget *text_widget);
37 void keyword_list_push(GtkWidget *textview, GList *list); 37 void keyword_list_push(GtkWidget *textview, GList *list);
38 38
39 39