3 * AccessibleApplication function prototypes
7 #include <cspi/spi-private.h>
10 * AccessibleApplication_ref:
11 * @obj: a pointer to the #AccessibleApplication on which to operate.
13 * Increment the reference count for an #AccessibleApplication.
17 AccessibleApplication_ref (AccessibleApplication *obj)
19 cspi_object_ref (obj);
23 * AccessibleApplication_unref:
24 * @obj: a pointer to the #AccessibleApplication object on which to operate.
26 * Decrement the reference count for an #AccessibleApplication.
30 AccessibleApplication_unref (AccessibleApplication *obj)
32 cspi_object_unref (obj);
36 * AccessibleApplication_getToolkitName:
37 * @obj: a pointer to the #AccessibleApplication to query.
39 * Get the name of the UI toolkit used by an #AccessibleApplication.
41 * Returns: a UTF-8 string indicating which UI toolkit is
42 * used by an application.
45 AccessibleApplication_getToolkitName (AccessibleApplication *obj)
49 cspi_return_val_if_fail (obj != NULL, NULL);
52 Accessibility_Application__get_toolkitName (CSPI_OBJREF (obj),
55 cspi_return_val_if_ev ("toolkitName", NULL);
61 * AccessibleApplication_getVersion:
62 * @obj: a pointer to the #AccessibleApplication being queried.
64 * Get the version of the at-spi bridge exported by an
65 * #AccessibleApplication instance.
67 * Returns: a UTF-8 string indicating the application's
71 AccessibleApplication_getVersion (AccessibleApplication *obj)
75 cspi_return_val_if_fail (obj != NULL, NULL);
78 Accessibility_Application__get_version (CSPI_OBJREF (obj),
81 cspi_return_val_if_ev ("getVersion", NULL);
87 * AccessibleApplication_getID:
88 * @obj: a pointer to the #AccessibleApplication being queried.
90 * Get the unique ID assigned by the Registry to an
91 * #AccessibleApplication instance.
92 * (Not Yet Implemented by the registry).
94 * Returns: a unique #long integer associated with the application
95 * by the Registry, or 0 if the application is not registered.
98 AccessibleApplication_getID (AccessibleApplication *obj)
102 cspi_return_val_if_fail (obj != NULL, 0);
104 retval = Accessibility_Application__get_id (CSPI_OBJREF (obj),
107 cspi_return_val_if_ev ("get_id", 0);
113 * AccessibleApplication_pause:
114 * @obj: a pointer to the #Accessible object on which to operate.
116 * Attempt to pause the application (used when client event queue is
118 * Not Yet Implemented.
120 * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
124 AccessibleApplication_pause (AccessibleApplication *obj)
130 * AccessibleApplication_resume:
131 * @obj: a pointer to the #Accessible object on which to operate.
133 * Attempt to resume the application (used after #AccessibleApplication_pause).
134 * Not Yet Implemented.
136 * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
140 AccessibleApplication_resume (AccessibleApplication *obj)