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.
15 * Returns: (no return code implemented yet).
19 AccessibleApplication_ref (AccessibleApplication *obj)
21 cspi_object_ref (obj);
25 * AccessibleApplication_unref:
26 * @obj: a pointer to the #AccessibleApplication object on which to operate.
28 * Decrement the reference count for an #AccessibleApplication.
30 * Returns: (no return code implemented yet).
34 AccessibleApplication_unref (AccessibleApplication *obj)
36 cspi_object_unref (obj);
40 * AccessibleApplication_getToolkitName:
41 * @obj: a pointer to the #AccessibleApplication to query.
43 * Get the name of the UI toolkit used by an #AccessibleApplication.
45 * Returns: a UTF-8 string indicating which UI toolkit is
46 * used by an application.
50 AccessibleApplication_getToolkitName (AccessibleApplication *obj)
52 return Accessibility_Application__get_toolkitName (CSPI_OBJREF (obj), cspi_ev ());
56 * AccessibleApplication_getVersion:
57 * @obj: a pointer to the #AccessibleApplication being queried.
59 * Get the version of the at-spi bridge exported by an
60 * #AccessibleApplication instance.
62 * Returns: a UTF-8 string indicating the application's
67 AccessibleApplication_getVersion (AccessibleApplication *obj)
69 return Accessibility_Application__get_version (CSPI_OBJREF (obj), cspi_ev ());
73 * AccessibleApplication_getID:
74 * @obj: a pointer to the #AccessibleApplication being queried.
76 * Get the unique ID assigned by the Registry to an
77 * #AccessibleApplication instance.
78 * (Not Yet Implemented by the registry).
80 * Returns: a unique #long integer associated with the application
81 * by the Registry, or 0 if the application is not registered.
84 AccessibleApplication_getID (AccessibleApplication *obj)
86 return Accessibility_Application__get_id (CSPI_OBJREF (obj), cspi_ev ());
90 * AccessibleApplication_pause:
91 * @obj: a pointer to the #Accessible object on which to operate.
93 * Attempt to pause the application (used when client event queue is
95 * Not Yet Implemented.
97 * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
101 AccessibleApplication_pause (AccessibleApplication *obj)
107 * AccessibleApplication_resume:
108 * @obj: a pointer to the #Accessible object on which to operate.
110 * Attempt to resume the application (used after #AccessibleApplication_pause).
111 * Not Yet Implemented.
113 * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
117 AccessibleApplication_resume (AccessibleApplication *obj)