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 Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 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 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
23 #ifndef MY_ATK_SELECTION_H
24 #define MY_ATK_SELECTION_H
27 #include <glib-object.h>
30 #include "my-atk-object.h"
32 #define MY_TYPE_ATK_SELECTION (my_atk_selection_get_type ())
33 #define MY_ATK_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MY_TYPE_ATK_SELECTION, MyAtkSelection))
34 #define MY_ATK_SELECTION_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), MY_TYPE_ATK_SELECTION, MyAtkSelectionClass))
35 #define MY_IS_ATK_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MY_TYPE_ATK_SELECTION))
36 #define MY_IS_ATK_SELECTION_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), MY_TYPE_ATK_SELECTION))
37 #define MY_ATK_SELECTION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), MY_TYPE_ATK_SELECTION, MyAtkSelectionClass))
39 /* Number of child objects for the MyAtkSelection instance */
40 #define TEST_SELECTION_NCHILDREN 10
42 typedef struct _MyAtkSelection MyAtkSelection;
43 typedef struct _MyAtkSelectionClass MyAtkSelectionClass;
45 struct _MyAtkSelection {
48 // gboolean multisel_supported;
49 // MyAtkObject* child[TEST_SELECTION_NCHILDREN];
50 // gboolean is_selected[TEST_SELECTION_NCHILDREN];
53 struct _MyAtkSelectionClass {
54 MyAtkObjectClass parent;
57 GType my_atk_selection_get_type (void);
59 guint my_atk_selection_set (MyAtkSelection *selection);
60 #endif /*MY_ATK_SELECTION_H*/