Main Page | Modules | File List | Globals

MIME application


Functions

GList * osso_mime_application_get_mime_types (const gchar *application_id)
void osso_mime_application_mime_types_list_free (GList *mime_types)

Function Documentation

GList* osso_mime_application_get_mime_types const gchar *  application_id  ) 
 

Returns a list of mime types supported by the application corresponding to the specified appliction id. The returned list should be freed by calling osso_mime_application_mime_types_list_free().

The list of mime types is specifed in the desktop file for the application with the MimeType field.

Parameters:
application_id The application id, as returned by GnomeVFS.
Returns:
A list of mime types, represented as strings, or NULL if none were found.

void osso_mime_application_mime_types_list_free GList *  mime_types  ) 
 

Frees the list of mime types as returned by osso_mime_application_get_mime_types().

Parameters:
mime_types A list of mime types.


Generated on Sat May 14 04:16:34 2005 for LibOSSOMIME by doxygen 1.3.7