#ifndef _ATSPI_APPLICATION_H_
#define _ATSPI_APPLICATION_H_
-#include "glib-object.h"
+#include <dbus/dbus.h>
#include "atspi-accessible.h"
+#include <sys/time.h>
+
+G_BEGIN_DECLS
#define ATSPI_TYPE_APPLICATION (atspi_application_get_type ())
-#define ATSPI_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_APPLICATION, AtspiAccessible))
+#define ATSPI_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_APPLICATION, AtspiApplication))
#define ATSPI_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_APPLICATION, AtspiAccessibleClass))
#define ATSPI_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_APPLICATION))
#define ATSPI_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_APPLICATION))
GObject parent;
GHashTable *hash;
char *bus_name;
+ DBusConnection *bus;
struct _AtspiAccessible *root;
+ AtspiCache cache;
+ gchar *toolkit_name;
+ gchar *toolkit_version;
+ gchar *atspi_version;
+ struct timeval time_added;
};
typedef struct _AtspiApplicationClass AtspiApplicationClass;
AtspiApplication *
_atspi_application_new (const char *bus_name);
+G_END_DECLS
+
#endif /* _ATSPI_APPLICATION_H_ */