Renamed SpiAccessibleEventListener to (just) SpiEventListener.
[platform/core/uifw/at-spi2-atk.git] / cspi / spi_application.c
1
2 /*
3  *
4  * AccessibleApplication function prototypes
5  *
6  */
7
8 /**
9  * AccessibleApplication_ref:
10  * @obj: a pointer to the #AccessibleApplication on which to operate.
11  *
12  * Increment the reference count for an #AccessibleApplication.
13  *
14  * Returns: (no return code implemented yet).
15  *
16  **/
17 int
18 AccessibleApplication_ref (AccessibleApplication *obj)
19 {
20   Accessibility_Application_ref (*obj, &ev);
21   return 0;
22 }
23
24 /**
25  * AccessibleApplication_unref:
26  * @obj: a pointer to the #AccessibleApplication object on which to operate.
27  *
28  * Decrement the reference count for an #AccessibleApplication.
29  *
30  * Returns: (no return code implemented yet).
31  *
32  **/
33 int
34 AccessibleApplication_unref (AccessibleApplication *obj)
35 {
36   Accessibility_Application_unref (*obj, &ev);
37   return 0;
38 }
39
40 /**
41  * AccessibleApplication_getToolkitName:
42  * @obj: a pointer to the #AccessibleApplication to query.
43  *
44  * Get the name of the UI toolkit used by an #AccessibleApplication.
45  *
46  * Returns: a UTF-8 string indicating which UI toolkit is
47  *          used by an application.
48  *
49  **/
50 char *
51 AccessibleApplication_getToolkitName (AccessibleApplication *obj)
52 {
53   return Accessibility_Application__get_toolkitName (*obj, &ev);
54 }
55
56 /**
57  * AccessibleApplication_getVersion:
58  * @obj: a pointer to the #AccessibleApplication being queried.
59  *
60  * Get the version of the at-spi bridge exported by an
61  *      #AccessibleApplication instance.
62  *
63  * Returns: a UTF-8 string indicating the application's
64  *          at-spi version.
65  *
66  **/
67 char *
68 AccessibleApplication_getVersion (AccessibleApplication *obj)
69 {
70   return Accessibility_Application__get_version (*obj, &ev);
71 }
72
73 /**
74  * AccessibleApplication_getID:
75  * @obj: a pointer to the #AccessibleApplication being queried.
76  *
77  * Get the unique ID assigned by the Registry to an
78  *      #AccessibleApplication instance.
79  * (Not Yet Implemented by the registry).
80  *
81  * Returns: a unique #long integer associated with the application
82  *          by the Registry, or 0 if the application is not registered.
83 **/
84 long
85 AccessibleApplication_getID (AccessibleApplication *obj)
86 {
87   return Accessibility_Application__get_id (*obj, &ev);
88 }
89
90 /**
91  * AccessibleApplication_pause:
92  * @obj: a pointer to the #Accessible object on which to operate.
93  *
94  * Attempt to pause the application (used when client event queue is
95  *  over-full).
96  * Not Yet Implemented.
97  *
98  * Returns: #TRUE if the application was paused successfully, #FALSE otherwise.
99  *
100  **/
101 boolean
102 AccessibleApplication_pause (AccessibleApplication *obj)
103 {
104   return FALSE;
105 }
106
107 /**
108  * AccessibleApplication_resume:
109  * @obj: a pointer to the #Accessible object on which to operate.
110  *
111  * Attempt to resume the application (used after #AccessibleApplication_pause).
112  * Not Yet Implemented.
113  *
114  * Returns: #TRUE if application processing resumed successfully, #FALSE otherwise.
115  *
116  **/
117 boolean
118 AccessibleApplication_resume (AccessibleApplication *obj)
119 {
120   return FALSE;
121 }
122
123