Cleaned up some suspect int* casts, and added assertions to text calls in libspi
[platform/core/uifw/at-spi2-atk.git] / libspi / application.h
index c4a9de2..110cdda 100644 (file)
@@ -40,7 +40,7 @@ extern "C" {
 
 typedef struct {
         Accessible parent;
-        char *id;
+        long id;
 } Application;
 
 typedef struct {
@@ -49,7 +49,9 @@ typedef struct {
 } ApplicationClass;
 
 GType               application_get_type           (void);
-Application         *application_new               (char *name, char *desc, char *id);
+gboolean            *application_set_id            (AtkObject *app, long id);
+Application         *application_new               (AtkObject *app_root);
+
 
 #ifdef __cplusplus
 }