Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

MIME types


Typedefs

typedef void( osso_mime_cb_f )(gpointer data, int argc, gchar **argv)

Functions

osso_return_t osso_mime_set_cb (osso_context_t *osso, osso_mime_cb_f *cb, gpointer data)
osso_return_t osso_mime_unset_cb (osso_context_t *osso)

Typedef Documentation

typedef void( osso_mime_cb_f)(gpointer data, int argc, gchar **argv)
 

This is the typedef for the function that is called whevever the mimeopen D-BUS message is received.

Parameters:
data The data pointer that was set with #mimeopen_set_cb.
argc The number of files
argv An array of file URIs


Function Documentation

osso_return_t osso_mime_set_cb osso_context_t osso,
osso_mime_cb_f cb,
gpointer  data
 

Register a callback function that gets called when a D-BUS message that indicates that a certain file should be opened is received.

Parameters:
osso The library context as returned by the osso_initialize function.
cb The callback function to call.
data Some caller-specific data that will be passed to the callback function.
Returns:
OSSO_OK. OSSO_INVALID if some parameter is invalid. OSSO_ERROR if there is an error.

osso_return_t osso_mime_unset_cb osso_context_t osso  ) 
 

Unregister a callback function that gets called when a D-BUS message that indicates that a certain file should be opened is received.

Parameters:
osso The library context as returned by the LibOSSO function osso_initialize.
Returns:
OSSO_OK. OSSO_INVALID if some parameter is invalid. OSSO_ERROR if there is an error.


Generated on Tue Aug 25 08:02:18 1970 for LibOSSO by doxygen 1.3.7