diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-12-26 14:04:12 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-26 14:39:49 -0500 |
commit | 6374226d6b2f49f88a3e526c03f9b0f968043dd8 (patch) | |
tree | a8085a24cebdf393cfb29125b9bcde298335f3b8 /gdk/gdkcontentserializer.h | |
parent | e917949315b47f10f8004b4fd7c19bdb0b72a69c (diff) | |
download | gtk+-6374226d6b2f49f88a3e526c03f9b0f968043dd8.tar.gz |
Add documentation for content (de)serializers
Diffstat (limited to 'gdk/gdkcontentserializer.h')
-rw-r--r-- | gdk/gdkcontentserializer.h | 14 |
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 |