1 #ifndef FILES_LIST_H 2 #define FILES_LIST_H 3 4 #include "gliv.h" 5 #include "gliv-image.h" 6 #include "timestamp.h" 7 8 gint get_list_length(void); 9 GList *get_list_head(void); 10 GList *get_list_end(void); 11 void remove_from_list(GList * node); 12 gboolean reorder_files(gboolean shuffle); 13 gchar **get_sorted_files_array(void); 14 gint init_from_null_filenames(gboolean sort, gboolean shuffle, 15 gboolean add_all); 16 gint init_list(gchar ** names, gint nb, gboolean sort, gboolean shuffle, 17 gboolean add_all); 18 gint insert_after_current(gchar ** names, gint nb, gboolean just_file, 19 gboolean add_all); 20 gboolean confirm_remove_current(void); 21 timestamp_t get_list_timestamp(void); 22 const gchar *get_nth_filename(gint n); 23 gint get_image_number(GlivImage * im); 24 GList *find_node_by_name(const gchar * name); 25 void add_obsolete_node(GList *node); 26 gboolean remove_obsolete_nodes(void); 27 28 #endif 29