Main Page | Modules | File List | Globals

osso-mime.h File Reference

#include <glib.h>
#include <libgnomevfs/gnome-vfs.h>
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
#include <dbus/dbus.h>

Go to the source code of this file.

Defines

#define DBUS_API_SUBJECT_TO_CHANGE

Enumerations

enum  OssoMimeCategory {
  OSSO_MIME_CATEGORY_BOOKMARKS = 1 << 0, OSSO_MIME_CATEGORY_CONTACTS = 1 << 1, OSSO_MIME_CATEGORY_DOCUMENTS = 1 << 2, OSSO_MIME_CATEGORY_EMAILS = 1 << 3,
  OSSO_MIME_CATEGORY_IMAGES = 1 << 4, OSSO_MIME_CATEGORY_AUDIO = 1 << 5, OSSO_MIME_CATEGORY_VIDEO = 1 << 6, OSSO_MIME_CATEGORY_OTHER = 1 << 7,
  OSSO_MIME_CATEGORY_ALL = (1 << 8) - 1
}

Functions

gint osso_mime_open (DBusConnection *con, const gchar *file,...)
gint osso_mime_open_file (DBusConnection *con, const gchar *file)
gint osso_mime_open_file_list (DBusConnection *con, GSList *files)
OssoMimeCategory osso_mime_get_category_for_mime_type (const gchar *mime_type)
GList * osso_mime_get_mime_types_for_category (OssoMimeCategory category)
void osso_mime_types_list_free (GList *list)
G_GNUC_CONST gchar * osso_mime_get_category_name (OssoMimeCategory category)
OssoMimeCategory osso_mime_get_category_from_name (const gchar *category)
GList * osso_mime_application_get_mime_types (const gchar *application_id)
void osso_mime_application_mime_types_list_free (GList *mime_types)
gchar ** osso_mime_get_icon_names (const gchar *mime_type, GnomeVFSFileInfo *file_info)


Define Documentation

#define DBUS_API_SUBJECT_TO_CHANGE
 


Generated on Sat May 14 22:12:08 2005 for LibOSSOMIME by doxygen 1.3.7