| 1 | /* GTK - The GIMP Toolkit |
| 2 | * Copyright (C) 2017 Benjamin Otte |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Lesser General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Lesser General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Lesser General Public |
| 15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #pragma once |
| 19 | |
| 20 | #if !defined (__GDK_H_INSIDE__cxx . . $ `gdk/gdk.h:27:9`!) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!) |
| 21 | #error "Only <gdk/gdk.h> can be included directly." |
| 22 | #endif |
| 23 | |
| 24 | #include <gdk/gdktypes.h>cxx . . $ `<file>/gdk/gdktypes.h`/ |
| 25 | |
| 26 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 27 | |
| 28 | #define GDK_TYPE_CONTENT_SERIALIZERcxx . . $ `gdk/gdkcontentserializer.h:28:9`! (gdk_content_serializer_get_type ()) |
| 29 | #define GDK_CONTENT_SERIALIZERcxx . . $ `gdk/gdkcontentserializer.h:29:9`!(o) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`! ((o), GDK_TYPE_CONTENT_SERIALIZERcxx . . $ `gdk/gdkcontentserializer.h:28:9`!, GdkContentSerializer)) |
| 30 | #define GDK_IS_CONTENT_SERIALIZERcxx . . $ `gdk/gdkcontentserializer.h:30:9`!(o) (G_TYPE_CHECK_INSTANCE_TYPEcxx . . $ `<external>/9567554376676449156/gtype.h:541:9`! ((o), GDK_TYPE_CONTENT_SERIALIZERcxx . . $ `gdk/gdkcontentserializer.h:28:9`!)) |
| 31 | |
| 32 | typedef struct _GdkContentSerializercxx . . $ _GdkContentSerializer# GdkContentSerializercxx . . $ GdkContentSerializer#; |
| 33 | |
| 34 | /** |
| 35 | * GdkContentSerializeFunc: |
| 36 | * @serializer: a `GdkContentSerializer` |
| 37 | * |
| 38 | * The type of a function that can be registered with gdk_content_register_serializer(). |
| 39 | * |
| 40 | * When the function gets called to operate on content, it can call functions on the |
| 41 | * @serializer object to obtain the mime type, output stream, user data, etc. for its |
| 42 | * operation. |
| 43 | */ |
| 44 | typedef void (* GdkContentSerializeFunccxx . . $ GdkContentSerializeFunc#) (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 45 | |
| 46 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 47 | GTypecxx . . $ GType# gdk_content_serializer_get_typecxx . . $ gdk_content_serializer_get_type(f708dce9a8856c70). (void) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 48 | |
| 49 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 50 | const char * gdk_content_serializer_get_mime_typecxx . . $ gdk_content_serializer_get_mime_type(e827523a3335623f). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 51 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 52 | GTypecxx . . $ GType# gdk_content_serializer_get_gtypecxx . . $ gdk_content_serializer_get_gtype(5dd1a7ecaa1fd4b). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 53 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 54 | const GValuecxx . . $ GValue# * gdk_content_serializer_get_valuecxx . . $ gdk_content_serializer_get_value(590542a31c789f1). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 55 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 56 | GOutputStreamcxx . . $ GOutputStream# * gdk_content_serializer_get_output_streamcxx . . $ gdk_content_serializer_get_output_stream(3ab0bc34e9433566). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 57 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 58 | int gdk_content_serializer_get_prioritycxx . . $ gdk_content_serializer_get_priority(7397e6e534b8eaab). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 59 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 60 | GCancellablecxx . . $ GCancellable# * gdk_content_serializer_get_cancellablecxx . . $ gdk_content_serializer_get_cancellable(1fa36edb619401c9). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 61 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 62 | gpointercxx . . $ gpointer# gdk_content_serializer_get_user_datacxx . . $ gdk_content_serializer_get_user_data(a00fb8e1e97e7905). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 63 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 64 | void gdk_content_serializer_set_task_datacxx . . $ gdk_content_serializer_set_task_data(e0e3f4ef95ab24bc). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer, |
| 65 | gpointercxx . . $ gpointer# data, |
| 66 | GDestroyNotifycxx . . $ GDestroyNotify# notify); |
| 67 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 68 | gpointercxx . . $ gpointer# gdk_content_serializer_get_task_datacxx . . $ gdk_content_serializer_get_task_data(a00fb8e1e97e7905). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 69 | |
| 70 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 71 | void gdk_content_serializer_return_successcxx . . $ gdk_content_serializer_return_success(9ebddb52e2aecd59). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer); |
| 72 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 73 | void gdk_content_serializer_return_errorcxx . . $ gdk_content_serializer_return_error(f551dbf6daee8cd6). (GdkContentSerializercxx . . $ GdkContentSerializer# *serializer, |
| 74 | GErrorcxx . . $ GError# *error); |
| 75 | |
| 76 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 77 | GdkContentFormatscxx . . $ GdkContentFormats# * gdk_content_formats_union_serialize_gtypescxx . . $ gdk_content_formats_union_serialize_gtypes(f9c6e94556d0b4d1). (GdkContentFormatscxx . . $ GdkContentFormats# *formats); |
| 78 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 79 | GdkContentFormatscxx . . $ GdkContentFormats# * gdk_content_formats_union_serialize_mime_typescxx . . $ gdk_content_formats_union_serialize_mime_types(f9c6e94556d0b4d1). (GdkContentFormatscxx . . $ GdkContentFormats# *formats); |
| 80 | |
| 81 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 82 | void gdk_content_register_serializercxx . . $ gdk_content_register_serializer(608d216c30a62466). (GTypecxx . . $ GType# type, |
| 83 | const char *mime_type, |
| 84 | GdkContentSerializeFunccxx . . $ GdkContentSerializeFunc# serialize, |
| 85 | gpointercxx . . $ gpointer# data, |
| 86 | GDestroyNotifycxx . . $ GDestroyNotify# notify); |
| 87 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 88 | void gdk_content_serialize_asynccxx . . $ gdk_content_serialize_async(de4533add184f2ee). (GOutputStreamcxx . . $ GOutputStream# *stream, |
| 89 | const char *mime_type, |
| 90 | const GValuecxx . . $ GValue# *value, |
| 91 | int io_priority, |
| 92 | GCancellablecxx . . $ GCancellable# *cancellable, |
| 93 | GAsyncReadyCallbackcxx . . $ GAsyncReadyCallback# callback, |
| 94 | gpointercxx . . $ gpointer# user_data); |
| 95 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 96 | gbooleancxx . . $ gboolean# gdk_content_serialize_finishcxx . . $ gdk_content_serialize_finish(aff244c0ed8a2285). (GAsyncResultcxx . . $ GAsyncResult# *result, |
| 97 | GErrorcxx . . $ GError# **error); |
| 98 | |
| 99 | |
| 100 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 101 |