Debian Codegraph @

clutter/cally/cally-group.h

raw
1 /* CALLY - The Clutter Accessibility Implementation Library
2 *
3 * Copyright (C) 2008 Igalia, S.L.
4 *
5 * Author: Alejandro PiƱeiro Iglesias <[email protected]>
6 *
7 * Based on GailContainer from GAIL
8 * Copyright 2001, 2002, 2003 Sun Microsystems Inc.
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24 #ifndef __CALLY_GROUP_H__
25 #define __CALLY_GROUP_H__
26
27 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
28 #error "Only <cally/cally.h> can be included directly."
29 #endif
30
31 #include <cally/cally-actor.h>
32 #include <clutter/clutter.h>
33
34 G_BEGIN_DECLS
35
36 #define CALLY_TYPE_GROUP (cally_group_get_type ())
37 #define CALLY_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CALLY_TYPE_GROUP, CallyGroup))
38 #define CALLY_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CALLY_TYPE_GROUP, CallyGroupClass))
39 #define CALLY_IS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALLY_TYPE_GROUP))
40 #define CALLY_IS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CALLY_TYPE_GROUP))
41 #define CALLY_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CALLY_TYPE_GROUP, CallyGroupClass))
42
43 typedef struct _CallyGroup CallyGroup;
44 typedef struct _CallyGroupClass CallyGroupClass;
45 typedef struct _CallyGroupPrivate CallyGroupPrivate;
46
47 /**
48 * CallyGroup:
49 *
50 * The <structname>CallyGroup</structname> structure contains only
51 * private data and should be accessed using the provided API
52 *
53 * Since: 1.4
54 */
55 struct _CallyGroup
56 {
57 /*< private >*/
58 CallyActor parent;
59
60 CallyGroupPrivate *priv;
61 };
62
63 /**
64 * CallyGroupClass:
65 *
66 * The <structname>CallyGroupClass</structname> structure contains only
67 * private data
68 *
69 * Since: 1.4
70 */
71 struct _CallyGroupClass
72 {
73 /*< private >*/
74 CallyActorClass parent_class;
75
76 /* padding for future expansion */
77 gpointer _padding_dummy[8];
78 };
79
80 CLUTTER_AVAILABLE_IN_1_4
81 GType cally_group_get_type (void) G_GNUC_CONST;
82 CLUTTER_AVAILABLE_IN_1_4
83 AtkObject* cally_group_new (ClutterActor *actor);
84
85 G_END_DECLS
86
87 #endif /* __CALLY_GROUP_H__ */