* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
*
- * Copyright 2001 Sun Microsystems Inc.
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Boston, MA 02111-1307, USA.
*/
+#include <unistd.h>
#include <stdlib.h>
#include "../cspi/spi-private.h" /* A hack for now */
#include <glib-object.h>
#include <atk/atk.h>
#include <atk/atknoopobject.h>
#include <bonobo-activation/bonobo-activation-register.h>
-#include <libspi.h>
+#include <bonobo/bonobo-main.h>
+#include <libspi/libspi.h>
int
main (int argc, char **argv)
source = spi_accessible_new (atko);
- e.type = "focus:";
+ e.type = "object:test";
e.source = BONOBO_OBJREF (source);
e.detail1 = 0;
e.detail2 = 0;
timer = g_timer_new ();
g_timer_start (timer);
- for (i = 0; i < 10000; ++i) {
+ for (i = 0; i < 500; ++i) {
Accessibility_Accessible_ref (e.source, &ev);
Accessibility_Registry_notifyEvent (registry, &e, &ev);
}