2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; https://wiki.gnome.org/Accessibility)
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
24 #ifndef MY_ATK_COMPONENT_H
25 #define MY_ATK_COMPONENT_H
29 #define MY_TYPE_ATK_COMPONENT (my_atk_component_get_type ())
30 #define MY_ATK_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MY_TYPE_ATK_COMPONENT, MyAtkComponent))
31 #define MY_ATK_COMPONENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), MY_TYPE_ATK_COMPONENT, MyAtkComponentClass))
32 #define MY_IS_ATK_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MY_TYPE_ATK_COMPONENT))
33 #define MY_IS_ATK_COMPONENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MY_TYPE_ATK_COMPONENT))
34 #define MY_ATK_COMPONENT_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), MY_TYPE_ATK_COMPONENT, MyAtkComponentClass))
36 typedef struct _MyAtkComponent MyAtkComponent;
37 typedef struct _MyAtkComponentClass MyAtkComponentClass;
39 typedef void (* MyAtkComponentFunc) (MyAtkComponent *component);
41 struct _MyAtkComponent {
44 gboolean extent_may_change;
45 gboolean is_manage_descendants;
51 struct _MyAtkComponentClass {
52 MyAtkObjectClass parent;
55 GType my_atk_component_get_type ();
57 void my_atk_component_set_layer (AtkComponent *component, AtkLayer layer);
58 void my_atk_component_set_mdi_zorder (AtkComponent *component, gint mdi_zorder);
59 void my_atk_component_set_alpha (AtkComponent *component, gdouble alpha);
61 #endif /*MY_ATK_COMPONENT_H*/