diff options
Diffstat (limited to 'gdk/gdkcontentproviderimpl.h')
-rw-r--r-- | gdk/gdkcontentproviderimpl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdk/gdkcontentproviderimpl.h b/gdk/gdkcontentproviderimpl.h index 1c41360243..19ac6969e1 100644 --- a/gdk/gdkcontentproviderimpl.h +++ b/gdk/gdkcontentproviderimpl.h @@ -35,6 +35,21 @@ GDK_AVAILABLE_IN_ALL GdkContentProvider * gdk_content_provider_new_for_bytes (const char *mime_type, GBytes *bytes); +typedef void (*GdkContentProviderGetValueFunc) (GValue *value, + gpointer data); + +GDK_AVAILABLE_IN_ALL +GdkContentProvider * gdk_content_provider_new_with_callback (GType type, + GdkContentProviderGetValueFunc func, + gpointer data); + +typedef GBytes * (*GdkContentProviderGetBytesFunc) (const char *mime_type, + gpointer data); + +GDK_AVAILABLE_IN_ALL +GdkContentProvider * gdk_content_provider_new_with_formats (GdkContentFormats *formats, + GdkContentProviderGetBytesFunc func, + gpointer data); G_END_DECLS |