[clutter] build: Add inclusion guards and license notices



commit 25ca2f135cca1b88f09ecaf6f5ca0fa6a555b350
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Dec 28 18:32:00 2011 +0000

    build: Add inclusion guards and license notices

 clutter/deprecated/clutter-actor.h     |   28 ++++++++++++++++++++++++++++
 clutter/deprecated/clutter-backend.h   |   28 ++++++++++++++++++++++++++++
 clutter/deprecated/clutter-container.h |    7 +++++--
 clutter/deprecated/clutter-group.h     |   27 ++++++++++++++++++++++++++-
 clutter/deprecated/clutter-main.h      |   25 +++++++++++++++++++++++++
 clutter/deprecated/clutter-stage.h     |   25 +++++++++++++++++++++++++
 6 files changed, 137 insertions(+), 3 deletions(-)
---
diff --git a/clutter/deprecated/clutter-actor.h b/clutter/deprecated/clutter-actor.h
index 2dee81f..d340d07 100644
--- a/clutter/deprecated/clutter-actor.h
+++ b/clutter/deprecated/clutter-actor.h
@@ -1,3 +1,31 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Authored By Matthew Allum  <mallum openedhand com>
+ *
+ * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
+ * Copyright (C) 2009, 2010 Intel Corp
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_ACTOR_DEPRECATED_H__
 #define __CLUTTER_ACTOR_DEPRECATED_H__
 
diff --git a/clutter/deprecated/clutter-backend.h b/clutter/deprecated/clutter-backend.h
index d4aca20..25a6662 100644
--- a/clutter/deprecated/clutter-backend.h
+++ b/clutter/deprecated/clutter-backend.h
@@ -1,3 +1,31 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Authored By Matthew Allum  <mallum openedhand com>
+ *
+ * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
+ * Copyright (C) 2009, 2010 Intel Corp
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_BACKEND_DEPRECATED_H__
 #define __CLUTTER_BACKEND_DEPRECATED_H__
 
diff --git a/clutter/deprecated/clutter-container.h b/clutter/deprecated/clutter-container.h
index e85cd1f..0be03b2 100644
--- a/clutter/deprecated/clutter-container.h
+++ b/clutter/deprecated/clutter-container.h
@@ -3,8 +3,7 @@
  *
  * An OpenGL based 'interactive canvas' library.
  *
- * Copyright (C) 2006, 2007, 2008 OpenedHand
- * Copyright (C) 2009, 2010, 2011 Intel Corporation
+ * Copyright (C) 2011 Intel Corporation
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -24,6 +23,10 @@
  * Author: Emmanuele Bassi <ebassi linux intel com>
  */
 
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_CONTAINER_DEPRECATED_H__
 #define __CLUTTER_CONTAINER_DEPRECATED_H__
 
diff --git a/clutter/deprecated/clutter-group.h b/clutter/deprecated/clutter-group.h
index a6ea39d..650f1df 100644
--- a/clutter/deprecated/clutter-group.h
+++ b/clutter/deprecated/clutter-group.h
@@ -1,3 +1,28 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Copyright (C) 2011 Intel Corp
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_GROUP_DEPRECATED_H__
 #define __CLUTTER_GROUP_DEPRECATED_H__
 
@@ -16,7 +41,7 @@ ClutterActor *  clutter_group_get_nth_child     (ClutterGroup *self,
 CLUTTER_DEPRECATED_FOR(clutter_actor_get_n_children)
 gint            clutter_group_get_n_children    (ClutterGroup *self);
 
-CLUTTER_DEPRECATED
+CLUTTER_DEPRECATED_FOR(clutter_actor_remove_all_children)
 void            clutter_group_remove_all        (ClutterGroup *self);
 
 #ifndef CLUTTER_DISABLE_DEPRECATED
diff --git a/clutter/deprecated/clutter-main.h b/clutter/deprecated/clutter-main.h
index 4c64360..e83cafc 100644
--- a/clutter/deprecated/clutter-main.h
+++ b/clutter/deprecated/clutter-main.h
@@ -1,3 +1,28 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Copyright (C) 2011 Intel Corp
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_MAIN_DEPRECATED_H__
 #define __CLUTTER_MAIN_DEPRECATED_H__
 
diff --git a/clutter/deprecated/clutter-stage.h b/clutter/deprecated/clutter-stage.h
index d8d66c6..f0cdca6 100644
--- a/clutter/deprecated/clutter-stage.h
+++ b/clutter/deprecated/clutter-stage.h
@@ -1,3 +1,28 @@
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Copyright (C) 2011 Intel Corp
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
 #ifndef __CLUTTER_STAGE_DEPRECATED_H__
 #define __CLUTTER_STAGE_DEPRECATED_H__
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]