Release Clutter 1.11.4 (snapshot)
[profile/ivi/clutter.git] / clutter / clutter-action.c
1 /*
2  * Clutter.
3  *
4  * An OpenGL based 'interactive canvas' library.
5  *
6  * Copyright (C) 2010  Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20  *
21  * Author:
22  *   Emmanuele Bassi <ebassi@linux.intel.com>
23  */
24
25 /**
26  * SECTION:clutter-action
27  * @Title: ClutterAction
28  * @Short_Description: Abstract class for event-related logic
29  * @See_Also: #ClutterConstraint
30  *
31  * #ClutterAction is an abstract base class for event-related actions that
32  * modify the user interaction of a #ClutterActor, just like
33  * #ClutterConstraint is an abstract class for modifiers of an actor's
34  * position or size.
35  *
36  * Implementations of #ClutterAction are associated to an actor and can
37  * provide behavioral changes when dealing with user input - for instance
38  * drag and drop capabilities, or scrolling, or panning - by using the
39  * various event-related signals provided by #ClutterActor itself.
40  *
41  * #ClutterAction is available since Clutter 1.4
42  */
43
44 #ifdef HAVE_CONFIG_H
45 #include "config.h"
46 #endif
47
48 #include "clutter-action.h"
49
50 #include "clutter-debug.h"
51 #include "clutter-private.h"
52
53 G_DEFINE_ABSTRACT_TYPE (ClutterAction, clutter_action, CLUTTER_TYPE_ACTOR_META);
54
55 static void
56 clutter_action_class_init (ClutterActionClass *klass)
57 {
58 }
59
60 static void
61 clutter_action_init (ClutterAction *self)
62 {
63 }