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);
26 * AccessibleApplication_unref:
27 * @obj: a pointer to the #AccessibleApplication object on which to operate.
29 * Decrement the reference count for an #AccessibleApplication.
31 * Returns: (no return code implemented yet).
35 AccessibleApplication_unref (AccessibleApplication *obj)
37 cspi_object_unref (obj);
42 * AccessibleApplication_getToolkitName:
43 * @obj: a pointer to the #AccessibleApplication to query.
45 * Get the name of the UI toolkit used by an #AccessibleApplication.
47 * Returns: a UTF-8 string indicating which UI toolkit is
48 * used by an application.
52 AccessibleApplication_getToolkitName (AccessibleApplication *obj)
54 return Accessibility_Application__get_toolkitName (CSPI_OBJREF (obj), cspi_ev ());
58 * AccessibleApplication_getVersion:
59 * @obj: a pointer to the #AccessibleApplication being queried.
61 * Get the version of the at-spi bridge exported by an
62 * #AccessibleApplication instance.
64 * Returns: a UTF-8 string indicating the application's
69 AccessibleApplication_getVersion (AccessibleApplication *obj)
71 return Accessibility_Application__get_version (CSPI_OBJREF (obj), cspi_ev ());
75 * AccessibleApplication_getID:
76 * @obj: a pointer to the #AccessibleApplication being queried.
78 * Get the unique ID assigned by the Registry to an
79 * #AccessibleApplication instance.
80 * (Not Yet Implemented by the registry).
82 * Returns: a unique #long integer associated with the application
83 * by the Registry, or 0 if the application is not registered.
86 AccessibleApplication_getID (AccessibleApplication *obj)
88 return Accessibility_Application__get_id (CSPI_OBJREF (obj), cspi_ev ());
92 * AccessibleApplication_pause:
93 * @obj: a pointer to the #Accessible object on which to operate.
95 * Attempt to pause the application (used when client event queue is
97 * Not Yet Implemented.
99 * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
103 AccessibleApplication_pause (AccessibleApplication *obj)
109 * AccessibleApplication_resume:
110 * @obj: a pointer to the #Accessible object on which to operate.
112 * Attempt to resume the application (used after #AccessibleApplication_pause).
113 * Not Yet Implemented.
115 * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
119 AccessibleApplication_resume (AccessibleApplication *obj)