diff src/dupe.h @ 138:71e1ebee420e

replaced gchar* path with FileData *fd
author nadvornik
date Tue, 11 Sep 2007 20:06:29 +0000
parents d907d608745f
children f6e307c7bad6
line wrap: on
line diff
--- a/src/dupe.h	Thu Aug 23 20:45:59 2007 +0000
+++ b/src/dupe.h	Tue Sep 11 20:06:29 2007 +0000
@@ -37,12 +37,7 @@
 	CollectionData *collection;	/* NULL if from DupeWindow->files */
 	CollectInfo *info;
 
-	gchar *path;
-	const gchar *name;		/* we store the pointer into path for the name,
-					 * so that we only need to calculate this once,
-					 * which significantly speeds up comparing names */
-	gint64 size;
-	time_t date;
+	FileData *fd;
 
 	long checksum;
 	gchar *md5sum;
@@ -123,8 +118,8 @@
 void dupe_window_add_collection(DupeWindow *dw, CollectionData *collection);
 void dupe_window_add_files(DupeWindow *dw, GList *list, gint recurse);
 
-void dupe_maint_removed(const gchar *path);
-void dupe_maint_renamed(const gchar *source, const gchar *dest);
+void dupe_maint_removed(FileData *fd);
+void dupe_maint_renamed(FileData *fd);
 
 
 /* cell max with/height hack utility */