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) |
| osso_return_t | osso_mime_unset_cb_full (osso_context_t *osso, osso_mime_cb_f *cb, gpointer data) |
| typedef void( osso_mime_cb_f)(gpointer data, int argc, gchar **argv) |
This is the type of the MIME callback function.
| data | The data pointer that was set with osso_mime_set_cb. | |
| argc | The number of files to open. | |
| argv | An array of file URIs. The strings pointed to by the argv array are only valid until the callback function returns. |
| osso_return_t osso_mime_set_cb | ( | osso_context_t * | osso, | |
| osso_mime_cb_f * | cb, | |||
| gpointer | data | |||
| ) |
This function registers a MIME callback function that Libosso calls when the user wants the application to open file(s) of a MIME type handled by the application.
| osso | The library context as returned by the osso_initialize function. | |
| cb | The callback function to call. | |
| data | Arbitrary application specific pointer that will be passed to the callback and ignored by Libosso. |
| osso_return_t osso_mime_unset_cb | ( | osso_context_t * | osso | ) |
This function unregisters a MIME callback function that was previously registered with the osso_mime_set_cb function.
| osso | The library context as returned by the LibOSSO function osso_initialize. |
| osso_return_t osso_mime_unset_cb_full | ( | osso_context_t * | osso, | |
| osso_mime_cb_f * | cb, | |||
| gpointer | data | |||
| ) |
1.5.6