Top |
Functions
AsFormat * | as_format_new () |
AsFormatKind | as_format_kind_from_string () |
const gchar * | as_format_kind_to_string () |
gboolean | as_format_equal () |
AsFormatKind | as_format_guess_kind () |
const gchar * | as_format_get_filename () |
AsFormatKind | as_format_get_kind () |
void | as_format_set_filename () |
void | as_format_set_kind () |
Description
AsApp's may be made from several information formats, and this object represents the filename (and kind) of the format.
See also: AsApp
Functions
as_format_kind_from_string ()
AsFormatKind
as_format_kind_from_string (const gchar *kind
);
Converts the text representation to an enumerated value.
Since: 0.6.9
as_format_equal ()
gboolean as_format_equal (AsFormat *format1
,AsFormat *format2
);
Checks if two formats are the same.
Since: 0.6.9
as_format_guess_kind ()
AsFormatKind
as_format_guess_kind (const gchar *filename
);
Guesses the source kind based from the filename.
Since: 0.6.9
as_format_get_filename ()
const gchar *
as_format_get_filename (AsFormat *format
);
Gets the filename required for this format.
Since: 0.6.9
as_format_get_kind ()
AsFormatKind
as_format_get_kind (AsFormat *format
);
Gets the format kind.
Since: 0.6.9
as_format_set_filename ()
void as_format_set_filename (AsFormat *format
,const gchar *filename
);
Sets the filename required for this format.
Since: 0.6.9
as_format_set_kind ()
void as_format_set_kind (AsFormat *format
,AsFormatKind kind
);
Sets the format kind.
Since: 0.6.9