summaryrefslogtreecommitdiff
path: root/gdk/gdkcontentserializer.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-26 14:04:12 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-26 14:39:49 -0500
commit6374226d6b2f49f88a3e526c03f9b0f968043dd8 (patch)
treea8085a24cebdf393cfb29125b9bcde298335f3b8 /gdk/gdkcontentserializer.h
parente917949315b47f10f8004b4fd7c19bdb0b72a69c (diff)
downloadgtk+-6374226d6b2f49f88a3e526c03f9b0f968043dd8.tar.gz
Add documentation for content (de)serializers
Diffstat (limited to 'gdk/gdkcontentserializer.h')
-rw-r--r--gdk/gdkcontentserializer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdk/gdkcontentserializer.h b/gdk/gdkcontentserializer.h
index 8b6dcf78ea..b2c34d4e37 100644
--- a/gdk/gdkcontentserializer.h
+++ b/gdk/gdkcontentserializer.h
@@ -32,8 +32,22 @@ G_BEGIN_DECLS
#define GDK_CONTENT_SERIALIZER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_CONTENT_SERIALIZER, GdkContentSerializer))
#define GDK_IS_CONTENT_SERIALIZER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_CONTENT_SERIALIZER))
+/**
+ * GdkContentSerializer:
+ *
+ * Should not be accessed directly.
+ */
typedef struct _GdkContentSerializer GdkContentSerializer;
+/**
+ * GdkContentSerializeFunc:
+ * @serializer: a #GdkContentSerializer
+ *
+ * The type of a function that can be registered with gdk_content_register_serializer().
+ * When the function gets called to operate on content, it can call functions on the
+ * @serializer object to obtain the mime type, output stream, user data, etc. for its
+ * operation.
+ */
typedef void (* GdkContentSerializeFunc) (GdkContentSerializer *serializer);
GDK_AVAILABLE_IN_3_94