fe1912d3de3b3d6a9ae2c8bb8e14008b152c486d
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / accessible-register.h
1 /*
2  * AT-SPI - Assistive Technology Service Provider Interface
3  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
4  *
5  * Copyright 2008 Novell, Inc.
6  * Copyright 2008, 2009 Codethink Ltd.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library 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  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #ifndef ACCESSIBLE_REGISTER
25 #define ACCESSIBLE_REGISTER
26
27 #include <atk/atk.h>
28 #include <glib.h>
29
30 void atk_dbus_foreach_registered (GHFunc func, gpointer data);
31
32 /*---------------------------------------------------------------------------*/
33
34 GObject *atk_dbus_path_to_gobject (const char *path);
35
36 AtkObject *atk_dbus_path_to_object (const char *path);
37
38 gchar *atk_dbus_object_attempt_registration (AtkObject * accessible);
39
40 gchar *atk_dbus_object_to_path (AtkObject * accessible, gboolean do_register);
41
42 gchar *atk_dbus_sub_object_to_path (GObject * accessible,
43                                     GObject * container);
44
45 gchar *atk_dbus_hyperlink_to_path (AtkHyperlink * hyperlink,
46                                    AtkObject * container);
47
48 gchar *atk_dbus_desktop_object_path ();
49
50 gchar *atk_dbus_ref_to_path (guint ref);
51 #endif /* ACCESSIBLE_REGISTER */