[g-a-devel]Add two functions to at-spi



While implementating notification of change of state in atk-bridge, I found the 
need for functions to convert from AtkStateType to Accessibility_StateType.

May I add two extra functions to libspi.so in at-spi?

spi_import_atk_state
spi_export_atk_state

Padraig
Index: stateset.h
===================================================================
RCS file: /cvs/gnome/at-spi/libspi/stateset.h,v
retrieving revision 1.2
diff -u -p -r1.2 stateset.h
--- stateset.h	19 Apr 2002 09:09:51 -0000	1.2
+++ stateset.h	25 Apr 2002 10:36:18 -0000
@@ -49,6 +49,9 @@ struct _SpiStateSetClass {
 GType        spi_state_set_get_type (void);
 SpiStateSet *spi_state_set_new      (AtkStateSet *set);
 
+Accessibility_StateType spi_import_atk_state (AtkStateType            type);
+AtkStateType            spi_export_atk_state (Accessibility_StateType type);
+
 G_END_DECLS
 
 #endif /* SPI_STATE_SET_H_ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]