1/* GDK - The GIMP Drawing Kit
2 *
3 * Copyright (C) 2017 Benjamin Otte <otte@gnome.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __GDK_CONTENT_PROVIDER_IMPL_H__
20#define __GDK_CONTENT_PROVIDER_IMPL_H__
21
22#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gdk/gdk.h> can be included directly."
24#endif
25
26#include <gdk/gdkversionmacros.h>
27#include <gdk/gdktypes.h>
28
29G_BEGIN_DECLS
30
31
32GDK_AVAILABLE_IN_ALL
33GdkContentProvider * gdk_content_provider_new_for_value (const GValue *value);
34GDK_AVAILABLE_IN_ALL
35GdkContentProvider * gdk_content_provider_new_typed (GType type,
36 ...);
37GDK_AVAILABLE_IN_ALL
38GdkContentProvider * gdk_content_provider_new_union (GdkContentProvider **providers,
39 gsize n_providers);
40GDK_AVAILABLE_IN_ALL
41GdkContentProvider * gdk_content_provider_new_for_bytes (const char *mime_type,
42 GBytes *bytes);
43
44
45G_END_DECLS
46
47#endif /* __GDK_CONTENT_PROVIDER_IMPL_H__ */
48

source code of gtk/gdk/gdkcontentproviderimpl.h