From 25ca2f135cca1b88f09ecaf6f5ca0fa6a555b350 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 28 Dec 2011 18:32:00 +0000 Subject: [PATCH] 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 2dee81f33..d340d072f 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 + * + * 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 . + */ + +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only 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 d4aca207a..25a666278 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 + * + * 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 . + */ + +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only 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 e85cd1fa0..0be03b26b 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 */ +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only 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 a6ea39d42..650f1dfc1 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 . + */ + +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only 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 4c64360ba..e83cafccb 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 . + */ + +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only 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 d8d66c6c0..f0cdca640 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 . + */ + +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __CLUTTER_STAGE_DEPRECATED_H__ #define __CLUTTER_STAGE_DEPRECATED_H__