]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/gdk-pixbuf.h
[quartz] Delete the typedef of GdkDevicePrivate
[~andy/gtk] / gdk-pixbuf / gdk-pixbuf.h
index 811f147f03526f383e333428a81439dea927c025..9a30131fb1dcecfc7ebc899d92e84edff23b784a 100644 (file)
@@ -1,34 +1,45 @@
-#ifndef _GDK_PIXBUF_H_
-#define _GDK_PIXBUF_H_
+/* GdkPixbuf library - Main header file
+ *
+ * Copyright (C) 1999 The Free Software Foundation
+ *
+ * Authors: Mark Crichton <crichton@gimp.org>
+ *          Miguel de Icaza <miguel@gnu.org>
+ *          Federico Mena-Quintero <federico@gimp.org>
+ *          Havoc Pennington <hp@redhat.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef GDK_PIXBUF_H
+#define GDK_PIXBUF_H
+
+#define GDK_PIXBUF_H_INSIDE
 
-#include <libart_lgpl/art_misc.h>
-#include <libart_lgpl/art_pixbuf.h>
 #include <glib.h>
+#include <gdk-pixbuf/gdk-pixbuf-features.h>
+#include <glib-object.h>
 
-typedef struct _GdkPixBuf GdkPixBuf;
-typedef void (*GdkPixBufUnrefFunc) (GdkPixBuf *pixbuf);
+#include <gdk-pixbuf/gdk-pixbuf-core.h>
+#include <gdk-pixbuf/gdk-pixbuf-transform.h>
+#include <gdk-pixbuf/gdk-pixbuf-animation.h>
+#include <gdk-pixbuf/gdk-pixbuf-simple-anim.h>
+#include <gdk-pixbuf/gdk-pixbuf-io.h>
+#include <gdk-pixbuf/gdk-pixbuf-loader.h>
+#include <gdk-pixbuf/gdk-pixbuf-enum-types.h>
 
-struct _GdkPixBuf
-{
-       int                 ref_count;
-       ArtPixBuf          *art_pixbuf;
-       GdkPixBufUnrefFunc *unref_fn;
-};
+#undef GDK_PIXBUF_H_INSIDE
 
-GdkPixBuf *gdk_pixbuf_load_image (const char *file);
-void       gdk_pixbuf_save_image (const char *format_id, const char *file, ...);
-GdkPixBuf *gdk_pixbuf_new        (ArtPixBuf          *art_pixbuf,
-                                 GdkPixBufUnrefFunc *unref_fn);
-void       gdk_pixbuf_ref        (GdkPixBuf *pixbuf);
-void       gdk_pixbuf_unref      (GdkPixBuf *pixbuf);
-GdkPixBuf *gdk_pixbuf_duplicate  (const GdkPixBuf *pixbuf);
-GdkPixBuf *gdk_pixbuf_scale     (const GdkPixBuf *pixbuf, gint w, gint h);
-GdkPixBuf *gdk_pixbuf_rotate     (GdkPixBuf *pixbuf, gdouble angle);
-
-void      gdk_pixbuf_destroy    (GdkPixBuf *pixbuf);
-
-GdkPixBuf *gdk_pixbuf_load_image_from_rgb_d (unsigned char *data, 
-                                            int rgb_width, int rgb_height);
-
-
-#endif /* _GDK_PIXBUF_H_ */
+#endif  /* GDK_PIXBUF_H */