Mercurial > geeqie
diff src/filedata.h @ 751:f73df252aa05
improved filedata interface
author | nadvornik |
---|---|
date | Sat, 24 May 2008 09:18:09 +0000 |
parents | f8c93e1d728d |
children | 477f48ba28d8 |
line wrap: on
line diff
--- a/src/filedata.h Fri May 23 23:40:12 2008 +0000 +++ b/src/filedata.h Sat May 24 09:18:09 2008 +0000 @@ -48,16 +48,28 @@ gchar *file_data_sc_list_to_string(FileData *fd); gboolean file_data_add_ci(FileData *fd, FileDataChangeType type, const gchar *src, const gchar *dest); -gboolean file_data_sc_add_ci_copy(FileData *fd, gchar *dest_path); -gboolean file_data_sc_add_ci_move(FileData *fd, gchar *dest_path); -gboolean file_data_sc_add_ci_rename(FileData *fd, gchar *dest_path); +gboolean file_data_sc_add_ci_copy(FileData *fd, const gchar *dest_path); +gboolean file_data_sc_add_ci_move(FileData *fd, const gchar *dest_path); +gboolean file_data_sc_add_ci_rename(FileData *fd, const gchar *dest_path); gboolean file_data_sc_add_ci_delete(FileData *fd); gboolean file_data_sc_add_ci_update(FileData *fd); -gint file_data_sc_update_ci_copy(FileData *fd, gchar *dest_path); -gint file_data_sc_update_ci_move(FileData *fd, gchar *dest_path); -gint file_data_sc_update_ci_rename(FileData *fd, gchar *dest_path); + +gboolean file_data_sc_add_ci_delete_list(GList *fd_list); +gboolean file_data_sc_add_ci_copy_list(GList *fd_list, const gchar *dest); +gboolean file_data_sc_add_ci_move_list(GList *fd_list, const gchar *dest); +gboolean file_data_sc_add_ci_rename_list(GList *fd_list, const gchar *dest); + +gboolean file_data_sc_update_ci_copy_list(GList *fd_list, const gchar *dest); +gboolean file_data_sc_update_ci_move_list(GList *fd_list, const gchar *dest); + + +gint file_data_sc_update_ci_copy(FileData *fd, const gchar *dest_path); +gint file_data_sc_update_ci_move(FileData *fd, const gchar *dest_path); +gint file_data_sc_update_ci_rename(FileData *fd, const gchar *dest_path); gint file_data_sc_check_ci_dest(FileData *fd); gboolean file_data_sc_perform_ci(FileData *fd); gint file_data_sc_apply_ci(FileData *fd); +void file_data_sc_free_ci(FileData *fd); +void file_data_sc_free_ci_list(GList *fd_list); #endif