mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
Move GFileAttributeValue to a private header, as its sort of ugly.
2007-12-14 Alexander Larsson <alexl@redhat.com> * Makefile.am: * gfileattribute.[ch]: * gfileattribute-priv.h: Move GFileAttributeValue to a private header, as its sort of ugly. * gfile.[ch]: Make set_attribute take a type + a pointer instead of a GFileAttributeValue. * gfileinfo.[ch]: Fix up for above changes. Add g_file_info_get_attribute_data to get all info in one call, g_file_info_get_attribute_status to get the status and g_file_info_get_attribute_as_string. * gio.symbols: * glocalfile.c: * glocalfileinfo.[ch]: Update for changes * gunixmounts.c: Make _guess_type static. svn path=/trunk/; revision=6129
This commit is contained in:
committed by
Alexander Larsson
parent
2ceae92eeb
commit
f506365079
@@ -683,11 +683,18 @@ gboolean g_file_info_has_attribute (GFileInfo *info,
|
||||
const char *attribute);
|
||||
char ** g_file_info_list_attributes (GFileInfo *info,
|
||||
const char *name_space);
|
||||
gboolean g_file_info_get_attribute_data (GFileInfo *info,
|
||||
const char *attribute,
|
||||
GFileAttributeType *type,
|
||||
gpointer *value_pp,
|
||||
GFileAttributeStatus *status);
|
||||
GFileAttributeType g_file_info_get_attribute_type (GFileInfo *info,
|
||||
const char *attribute);
|
||||
void g_file_info_remove_attribute (GFileInfo *info,
|
||||
const char *attribute);
|
||||
GFileAttributeValue * g_file_info_get_attribute (GFileInfo *info,
|
||||
GFileAttributeStatus g_file_info_get_attribute_status (GFileInfo *info,
|
||||
const char *attribute);
|
||||
char * g_file_info_get_attribute_as_string (GFileInfo *info,
|
||||
const char *attribute);
|
||||
const char * g_file_info_get_attribute_string (GFileInfo *info,
|
||||
const char *attribute);
|
||||
@@ -708,7 +715,8 @@ GObject * g_file_info_get_attribute_object (GFileInfo *info,
|
||||
|
||||
void g_file_info_set_attribute (GFileInfo *info,
|
||||
const char *attribute,
|
||||
const GFileAttributeValue *attr_value);
|
||||
GFileAttributeType type,
|
||||
gpointer value_p);
|
||||
void g_file_info_set_attribute_string (GFileInfo *info,
|
||||
const char *attribute,
|
||||
const char *attr_value);
|
||||
|
Reference in New Issue
Block a user