typedef struct _FileData FileData;
typedef struct _SidecarFileData SidecarFileData;
+typedef struct _FileDataChangeInfo FileDataChangeInfo;
typedef struct _LayoutWindow LayoutWindow;
typedef struct _ViewDirList ViewDirList;
struct _ImageLoader
{
GdkPixbuf *pixbuf;
+ FileData *fd;
gchar *path;
gint bytes_read;
struct _CollectInfo
{
- gchar *path;
- gint64 size;
- time_t date;
-
+ FileData *fd;
GdkPixbuf *pixbuf;
gint flag_mask;
};
GtkWidget *frame;
GtkWidget *inner_frame;
- gchar *image_path;
- const gchar *image_name;
+ FileData *image_fd;
gint64 size; /* file size (bytes) */
time_t mtime; /* file modified time stamp */
ImageLoader *read_ahead_il;
GdkPixbuf *read_ahead_pixbuf;
- gchar *read_ahead_path;
+ FileData *read_ahead_fd;
GdkPixbuf *prev_pixbuf;
- gchar *prev_path;
+ FileData *prev_fd;
gint prev_color_row;
gint auto_refresh_id;
time_t date;
};
+struct _FileDataChangeInfo {
+ gchar *source;
+ gchar *dest;
+};
struct _FileData {
+ gint magick;
gint type;
+ gchar *original_path; /* key to file_data_pool hash table */
gchar *path;
const gchar *name;
const gchar *extension;
time_t date;
gboolean marks[FILEDATA_MARKS_SIZE];
GList *sidecar_files;
- gchar *target; /* for rename, move ... */
+ FileDataChangeInfo *change; /* for rename, move ... */
GdkPixbuf *pixbuf;
+ gint ref;
};
struct _LayoutWindow
FileData *select_fd;
gint thumbs_enabled;
- gint marks_enabled;
+ gint marks_enabled;
/* thumb updates */
gint thumbs_running;
GtkWidget *popup;
};
+struct _IconData;
+
struct _ViewFileIcon
{
GtkWidget *widget;
gint rows;
GList *selection;
- FileData *prev_selection;
+ struct _IconData *prev_selection;
GtkWidget *tip_window;
gint tip_delay_id;
- FileData *tip_fd;
+ struct _IconData *tip_id;
- FileData *click_fd;
+ struct _IconData *click_id;
- FileData *focus_fd;
+ struct _IconData *focus_id;
gint focus_row;
gint focus_column;
{
ImageWindow *imd;
- GList *path_list;
+ GList *filelist;
CollectionData *cd;
gchar *layout_path;
LayoutWindow *layout;
GList *list;
GList *list_done;
- gchar *slide_path;
+ FileData *slide_fd;
gint slide_count;
gint timeout_id;