Add dependencies
[clutter-gtk] / clutter-gtk / clutter-gtk.h
index 71340c1..5d56798 100644 (file)
@@ -1,88 +1,16 @@
-/*
- * GTK-Clutter.
- *
- * GTK+ widget for Clutter.
- *
- * Authored By Iain Holmes  <iain@openedhand.com>
- *
- * Copyright (C) 2006 OpenedHand
- *
- * 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 __CLUTTER_GTK_H__
+#define __CLUTTER_GTK_H__
 
-#ifndef __GTK_CLUTTER_H__
-#define __GTK_CLUTTER_H__
+#define __CLUTTER_GTK_H_INSIDE__
 
-#include <gtk/gtksocket.h>
-#include <clutter/clutter-actor.h>
+/* Please, keep the list sorted alphabetically */
 
-G_BEGIN_DECLS
+#include "gtk-clutter-embed.h"
+#include "gtk-clutter-scrollable.h"
+#include "gtk-clutter-util.h"
+#include "gtk-clutter-viewport.h"
+#include "gtk-clutter-zoomable.h"
 
-#define GTK_TYPE_CLUTTER (gtk_clutter_get_type ())
+#undef __CLUTTER_GTK_H_INSIDE__
 
-#define GTK_CLUTTER(obj) \
-  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
-  GTK_TYPE_CLUTTER, GtkClutter))
-
-#define GTK_CLUTTER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_CASE ((klass), \
-  GTK_TYPE_CLUTTER, GtkClutterClass))
-
-#define GTK_IS_CLUTTER(obj) \
-  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
-  GTK_TYPE_CLUTTER))
-
-#define GTK_IS_CLUTTER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
-  GTK_TYPE_CLUTTER))
-
-#define GTK_CLUTTER_STAGE_GET_CLASS(obj) \
-  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
-  GTK_TYPE_CLUTTER, GtkClutterClass))
-
-typedef struct _GtkClutter              GtkClutter;
-typedef struct _GtkClutterClass         GtkClutterClass;
-typedef struct _GtkClutterPrivate       GtkClutterPrivate;
-
-struct _GtkClutter 
-{
-  /*< private >*/
-  GtkSocket parent;
-  
-  GtkClutterPrivate *priv;
-};
-
-struct _GtkClutterClass
-{
-  /*< private >*/
-  GtkSocketClass parent_class;
-
-  void (*_gtk_clutter_1) (void);
-  void (*_gtk_clutter_2) (void);
-  void (*_gtk_clutter_3) (void);
-  void (*_gtk_clutter_4) (void);
-  void (*_gtk_clutter_5) (void);
-  void (*_gtk_clutter_6) (void);
-};
-
-GType gtk_clutter_get_type (void) G_GNUC_CONST;
-
-GtkWidget *   gtk_clutter_new       (void);
-ClutterActor *gtk_clutter_get_stage (GtkClutter *clutter);
-
-G_END_DECLS
-
-#endif /* __GTK_CLUTTER_H__ */
+#endif /* __CLUTTER_GTK_H__ */