diff options
Diffstat (limited to 'gio/gfileinfo.h')
-rw-r--r-- | gio/gfileinfo.h | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h index 28bddfebc..b8123c34e 100644 --- a/gio/gfileinfo.h +++ b/gio/gfileinfo.h @@ -1116,246 +1116,246 @@ typedef struct _GFileInfoClass GFileInfoClass; **/ #define G_FILE_ATTRIBUTE_RECENT_MODIFIED "recent::modified" /* int64 (time_t) */ -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GType g_file_info_get_type (void) G_GNUC_CONST; -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileInfo * g_file_info_new (void); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileInfo * g_file_info_dup (GFileInfo *other); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_copy_into (GFileInfo *src_info, GFileInfo *dest_info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_has_attribute (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_has_namespace (GFileInfo *info, const char *name_space); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL char ** g_file_info_list_attributes (GFileInfo *info, const char *name_space); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_get_attribute_data (GFileInfo *info, const char *attribute, GFileAttributeType *type, gpointer *value_pp, GFileAttributeStatus *status); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileAttributeType g_file_info_get_attribute_type (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_remove_attribute (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileAttributeStatus g_file_info_get_attribute_status (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_set_attribute_status (GFileInfo *info, const char *attribute, GFileAttributeStatus status); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL char * g_file_info_get_attribute_as_string (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_attribute_string (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_attribute_byte_string (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_get_attribute_boolean (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL guint32 g_file_info_get_attribute_uint32 (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gint32 g_file_info_get_attribute_int32 (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL guint64 g_file_info_get_attribute_uint64 (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gint64 g_file_info_get_attribute_int64 (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GObject * g_file_info_get_attribute_object (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL char ** g_file_info_get_attribute_stringv (GFileInfo *info, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute (GFileInfo *info, const char *attribute, GFileAttributeType type, gpointer value_p); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_string (GFileInfo *info, const char *attribute, const char *attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_byte_string (GFileInfo *info, const char *attribute, const char *attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_boolean (GFileInfo *info, const char *attribute, gboolean attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_uint32 (GFileInfo *info, const char *attribute, guint32 attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_int32 (GFileInfo *info, const char *attribute, gint32 attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_uint64 (GFileInfo *info, const char *attribute, guint64 attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_int64 (GFileInfo *info, const char *attribute, gint64 attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_object (GFileInfo *info, const char *attribute, GObject *attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_stringv (GFileInfo *info, const char *attribute, char **attr_value); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_clear_status (GFileInfo *info); /* Helper getters: */ -GLIB_AVAILABLE_IN_2_36 +GIO_AVAILABLE_IN_2_36 GDateTime * g_file_info_get_deletion_date (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileType g_file_info_get_file_type (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_get_is_hidden (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_get_is_backup (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_info_get_is_symlink (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_name (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_display_name (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_edit_name (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GIcon * g_file_info_get_icon (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GIcon * g_file_info_get_symbolic_icon (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_content_type (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL goffset g_file_info_get_size (GFileInfo *info); G_GNUC_BEGIN_IGNORE_DEPRECATIONS -GLIB_DEPRECATED_IN_2_62_FOR(g_file_info_get_modification_date_time) +GIO_DEPRECATED_IN_2_62_FOR(g_file_info_get_modification_date_time) void g_file_info_get_modification_time (GFileInfo *info, GTimeVal *result); G_GNUC_END_IGNORE_DEPRECATIONS -GLIB_AVAILABLE_IN_2_62 +GIO_AVAILABLE_IN_2_62 GDateTime * g_file_info_get_modification_date_time (GFileInfo *info); -GLIB_AVAILABLE_IN_2_70 +GIO_AVAILABLE_IN_2_70 GDateTime * g_file_info_get_access_date_time (GFileInfo *info); -GLIB_AVAILABLE_IN_2_70 +GIO_AVAILABLE_IN_2_70 GDateTime * g_file_info_get_creation_date_time (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_symlink_target (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_info_get_etag (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gint32 g_file_info_get_sort_order (GFileInfo *info); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_attribute_mask (GFileInfo *info, GFileAttributeMatcher *mask); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_unset_attribute_mask (GFileInfo *info); /* Helper setters: */ -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_file_type (GFileInfo *info, GFileType type); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_is_hidden (GFileInfo *info, gboolean is_hidden); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_is_symlink (GFileInfo *info, gboolean is_symlink); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_name (GFileInfo *info, const char *name); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_display_name (GFileInfo *info, const char *display_name); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_edit_name (GFileInfo *info, const char *edit_name); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_icon (GFileInfo *info, GIcon *icon); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_symbolic_icon (GFileInfo *info, GIcon *icon); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_content_type (GFileInfo *info, const char *content_type); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_size (GFileInfo *info, goffset size); G_GNUC_BEGIN_IGNORE_DEPRECATIONS -GLIB_DEPRECATED_IN_2_62_FOR(g_file_info_set_modification_date_time) +GIO_DEPRECATED_IN_2_62_FOR(g_file_info_set_modification_date_time) void g_file_info_set_modification_time (GFileInfo *info, GTimeVal *mtime); G_GNUC_END_IGNORE_DEPRECATIONS -GLIB_AVAILABLE_IN_2_62 +GIO_AVAILABLE_IN_2_62 void g_file_info_set_modification_date_time (GFileInfo *info, GDateTime *mtime); -GLIB_AVAILABLE_IN_2_70 +GIO_AVAILABLE_IN_2_70 void g_file_info_set_access_date_time (GFileInfo *info, GDateTime *atime); -GLIB_AVAILABLE_IN_2_70 +GIO_AVAILABLE_IN_2_70 void g_file_info_set_creation_date_time (GFileInfo *info, GDateTime *creation_time); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_symlink_target (GFileInfo *info, const char *symlink_target); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_info_set_sort_order (GFileInfo *info, gint32 sort_order); #define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type ()) -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GType g_file_attribute_matcher_get_type (void) G_GNUC_CONST; -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileAttributeMatcher *g_file_attribute_matcher_new (const char *attributes); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileAttributeMatcher *g_file_attribute_matcher_ref (GFileAttributeMatcher *matcher); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL void g_file_attribute_matcher_unref (GFileAttributeMatcher *matcher); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL GFileAttributeMatcher *g_file_attribute_matcher_subtract (GFileAttributeMatcher *matcher, GFileAttributeMatcher *subtract); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_attribute_matcher_matches (GFileAttributeMatcher *matcher, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_attribute_matcher_matches_only (GFileAttributeMatcher *matcher, const char *attribute); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL gboolean g_file_attribute_matcher_enumerate_namespace (GFileAttributeMatcher *matcher, const char *ns); -GLIB_AVAILABLE_IN_ALL +GIO_AVAILABLE_IN_ALL const char * g_file_attribute_matcher_enumerate_next (GFileAttributeMatcher *matcher); -GLIB_AVAILABLE_IN_2_32 +GIO_AVAILABLE_IN_2_32 char * g_file_attribute_matcher_to_string (GFileAttributeMatcher *matcher); G_END_DECLS |