summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file.h
diff options
context:
space:
mode:
authorFelipe Barriga Richards <[email protected]>2017-04-01 23:12:25 -0300
committerraveit65 <[email protected]>2017-05-25 08:28:30 +0200
commitb28445b3d2c42a7d2dbac97983d007e4ab58684d (patch)
tree3e654155d6deb53e40378e060eb972c9c957fec0 /libcaja-private/caja-file.h
parent79fadd6ab9e93e46b5308bc6d3838ed93f225f98 (diff)
downloadcaja-b28445b3d2c42a7d2dbac97983d007e4ab58684d.tar.bz2
caja-b28445b3d2c42a7d2dbac97983d007e4ab58684d.tar.xz
added feature: present the size on disk of files as we present the size of the file.
Diffstat (limited to 'libcaja-private/caja-file.h')
-rw-r--r--libcaja-private/caja-file.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libcaja-private/caja-file.h b/libcaja-private/caja-file.h
index 5aba9726..f94bbe33 100644
--- a/libcaja-private/caja-file.h
+++ b/libcaja-private/caja-file.h
@@ -63,7 +63,8 @@ typedef enum
CAJA_FILE_SORT_BY_MTIME,
CAJA_FILE_SORT_BY_ATIME,
CAJA_FILE_SORT_BY_EMBLEMS,
- CAJA_FILE_SORT_BY_TRASHED_TIME
+ CAJA_FILE_SORT_BY_TRASHED_TIME,
+ CAJA_FILE_SORT_BY_SIZE_ON_DISK
} CajaFileSortType;
typedef enum
@@ -175,6 +176,7 @@ char * caja_file_get_parent_uri (CajaFile
char * caja_file_get_parent_uri_for_display (CajaFile *file);
gboolean caja_file_can_get_size (CajaFile *file);
goffset caja_file_get_size (CajaFile *file);
+goffset caja_file_get_size_on_disk (CajaFile *file);
time_t caja_file_get_mtime (CajaFile *file);
GFileType caja_file_get_file_type (CajaFile *file);
char * caja_file_get_mime_type (CajaFile *file);
@@ -208,7 +210,8 @@ CajaRequestStatus caja_file_get_deep_counts (CajaFile
guint *directory_count,
guint *file_count,
guint *unreadable_directory_count,
- goffset *total_size,
+ goffset *total_size,
+ goffset *total_size_on_disk,
gboolean force);
gboolean caja_file_should_show_thumbnail (CajaFile *file);
gboolean caja_file_should_show_directory_item_count (CajaFile *file);
@@ -539,7 +542,8 @@ typedef struct
guint *directory_count,
guint *file_count,
guint *unreadable_directory_count,
- goffset *total_size);
+ goffset *total_size,
+ goffset *total_size_on_disk);
gboolean (* get_date) (CajaFile *file,
CajaDateType type,
time_t *date);