2009-08-28 Mike Gorse <mgorse@novell.com>
[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
31 atk_dbus_foreach_registered(GHFunc func, gpointer data);
32
33 /*---------------------------------------------------------------------------*/
34
35 GObject *
36 atk_dbus_path_to_gobject (const char *path);
37
38 AtkObject *
39 atk_dbus_path_to_object (const char *path);
40
41 gchar *
42 atk_dbus_object_attempt_registration (AtkObject *accessible);
43
44 gchar *
45 atk_dbus_object_to_path (AtkObject *accessible, gboolean do_register);
46
47 gchar *
48 atk_dbus_sub_object_to_path (GObject *accessible, GObject *container);
49
50 gchar *
51 atk_dbus_hyperlink_to_path (AtkHyperlink *hyperlink, AtkObject *container);
52
53 gchar *
54 atk_dbus_desktop_object_path ();
55
56 gchar *
57 atk_dbus_ref_to_path (guint ref);
58 #endif /* ACCESSIBLE_REGISTER */