Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:16

0001 /*
0002  * AT-SPI - Assistive Technology Service Provider Interface
0003  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
0004  *
0005  * Copyright 2002 Ximian, Inc.
0006  *           2002 Sun Microsystems Inc.
0007  *
0008  *
0009  * This library is free software; you can redistribute it and/or
0010  * modify it under the terms of the GNU Lesser General Public
0011  * License as published by the Free Software Foundation; either
0012  * version 2.1 of the License, or (at your option) any later version.
0013  *
0014  * This library is distributed in the hope that it will be useful,
0015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0017  * Lesser General Public License for more details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with this library; if not, write to the
0021  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0022  * Boston, MA 02110-1301, USA.
0023  */
0024 
0025 #ifndef _ATSPI_ACTION_H_
0026 #define _ATSPI_ACTION_H_
0027 
0028 #include "glib-object.h"
0029 
0030 #include "atspi-constants.h"
0031 
0032 #include "atspi-types.h"
0033 
0034 G_BEGIN_DECLS
0035 
0036 #define ATSPI_TYPE_ACTION (atspi_action_get_type ())
0037 #define ATSPI_IS_ACTION(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_ACTION)
0038 #define ATSPI_ACTION(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_ACTION, AtspiAction)
0039 #define ATSPI_ACTION_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_ACTION, AtspiAction))
0040 
0041 GType atspi_action_get_type ();
0042 
0043 struct _AtspiAction
0044 {
0045   GTypeInterface parent;
0046 };
0047 
0048 gchar *atspi_action_get_action_description (AtspiAction *obj, int i, GError **error);
0049 
0050 gchar *atspi_action_get_action_name (AtspiAction *obj, gint i, GError **error);
0051 
0052 gint atspi_action_get_n_actions (AtspiAction *obj, GError **error);
0053 
0054 gchar *atspi_action_get_key_binding (AtspiAction *obj, gint i, GError **error);
0055 
0056 gchar *atspi_action_get_localized_name (AtspiAction *obj, gint i, GError **error);
0057 
0058 gboolean atspi_action_do_action (AtspiAction *obj, gint i, GError **error);
0059 
0060 #ifndef ATSPI_DISABLE_DEPRECATED
0061 gchar *atspi_action_get_description (AtspiAction *obj, gint i, GError **error);
0062 gchar *atspi_action_get_name (AtspiAction *obj, gint i, GError **error);
0063 #endif
0064 G_END_DECLS
0065 
0066 #endif /* _ATSPI_ACTION_H_ */