1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#ifndef NAUTILUS_BATCH_RENAME_UTILITIES_H
#define NAUTILUS_BATCH_RENAME_UTILITIES_H
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <tracker-sparql.h>
GList* get_new_names_list (NautilusBatchRenameMode mode,
GList *selection,
gchar *entry_text,
gchar *replace_text);
GList* list_has_duplicates (NautilusBatchRename *dialog,
NautilusDirectory *model,
GList *names,
GList *selection,
GList *parents_list,
gboolean same_parent);
GList* nautilus_batch_rename_sort (GList *selection,
SortingMode mode,
GHashTable *create_date);
gint compare_files_by_last_modified (gconstpointer a,
gconstpointer b);
gint compare_files_by_first_modified (gconstpointer a,
gconstpointer b);
gint compare_files_by_name_descending (gconstpointer a,
gconstpointer b);
gint compare_files_by_name_ascending (gconstpointer a,
gconstpointer b);
gint compare_files_by_first_created (gconstpointer a,
gconstpointer b);
gint compare_files_by_last_created (gconstpointer a,
gconstpointer b);
void check_creation_date_for_selection (NautilusBatchRename *dialog,
GList *selection);
gboolean selection_has_single_parent (GList *selection);
void string_free (gpointer mem);
GList* distinct_file_parents (GList *selection);
gboolean file_name_changed (GList *selection,
GList *new_names,
GString *old_name,
gchar *parent_uri);
#endif /* NAUTILUS_BATCH_RENAME_UTILITIES_H */
|