Fix gtk-doc for AtspiRegistry.
[platform/upstream/at-spi2-core.git] / atspi / atspi-application.h
index be3d4e1..a2cc2e4 100644 (file)
 #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))
@@ -42,7 +45,13 @@ struct _AtspiApplication
   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;
@@ -54,4 +63,6 @@ struct _AtspiApplicationClass
 AtspiApplication *
 _atspi_application_new (const char *bus_name);
 
+G_END_DECLS
+
 #endif /* _ATSPI_APPLICATION_H_ */