]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/io-gdip-utils.h
[quartz] Delete the typedef of GdkDevicePrivate
[~andy/gtk] / gdk-pixbuf / io-gdip-utils.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2 /* GdkPixbuf library - Win32 GDI+ Pixbuf Loader
3  *
4  * Copyright (C) 2008 Dominic Lachowicz
5  * Copyright (C) 2008 Alberto Ruiz
6  *
7  * Authors: Dominic Lachowicz <domlachowicz@gmail.com>
8  *          Alberto Ruiz <aruiz@gnome.org>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Lesser General Public License for more  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #ifndef _HAVE_IO_GDIP_UTILS_H
25 #define _HAVE_IO_GDIP_UTILS_H
26
27 #include "gdk-pixbuf.h"
28 #include "gdk-pixbuf-i18n.h"
29
30 #include "io-gdip-native.h"
31
32 gboolean
33 gdip_save_to_file_callback (const gchar *buf,
34                             gsize        count,
35                             GError     **error,
36                             gpointer     data);
37
38 void
39 gdip_fill_vtable (GdkPixbufModule *module);
40
41 void
42 gdip_fill_vector_vtable (GdkPixbufModule *module);
43
44 gboolean
45 gdip_save_pixbuf (GdkPixbuf *pixbuf,
46                   const WCHAR *format,
47                   const EncoderParameters *encoder_params,
48                   GdkPixbufSaveFunc save_func,
49                   gpointer user_data,
50                   GError **error);
51
52 #endif