summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-24 15:45:36 +0800
committerlukefromdc <[email protected]>2019-01-28 22:24:13 +0000
commit3a22d4c63d42009024830f494fe0ec3679382631 (patch)
treee00801b612568d39dca78a1d70df05bb87d95380 /libcaja-private/caja-query.h
parente8f124db938d82554f98a325dc23e9e09e195eb4 (diff)
downloadcaja-3a22d4c63d42009024830f494fe0ec3679382631.tar.bz2
caja-3a22d4c63d42009024830f494fe0ec3679382631.tar.xz
Support querying files by modification time and size
Thanks for Leslie Zhai's patch.
Diffstat (limited to 'libcaja-private/caja-query.h')
-rw-r--r--libcaja-private/caja-query.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libcaja-private/caja-query.h b/libcaja-private/caja-query.h
index 8e0f1047..b4c5c035 100644
--- a/libcaja-private/caja-query.h
+++ b/libcaja-private/caja-query.h
@@ -66,7 +66,13 @@ void caja_query_set_mime_types (CajaQuery *query, GList *mime_type
void caja_query_add_mime_type (CajaQuery *query, const char *mime_type);
char * caja_query_to_readable_string (CajaQuery *query);
-CajaQuery *caja_query_load (char *file);
+CajaQuery * caja_query_load (char *file);
gboolean caja_query_save (CajaQuery *query, char *file);
+gint64 caja_query_get_duration (CajaQuery *query);
+void caja_query_set_duration (CajaQuery *query, gint64 sec);
+
+gint64 caja_query_get_size (CajaQuery *query);
+void caja_query_set_size (CajaQuery *query, gint64 size);
+
#endif /* CAJA_QUERY_H */