* Boston, MA 02111-1307, USA.
*/
-/*
- * component.c : bonobo wrapper for accessible component implementation
- *
- */
-#include <config.h>
-#include <bonobo/Bonobo.h>
+/* hyperlink.c : implements the Hyperlink interface */
+#include <config.h>
#include <stdio.h>
+#include <libspi/hyperlink.h>
+#include <libspi/accessible.h>
-/*
- * This pulls the CORBA definitions for the "Accessibility::Accessible" server
- */
-#include <libspi/Accessibility.h>
-
-/*
- * This pulls the definition of the hyperlink bonobo object
- */
-#include "hyperlink.h"
-#include "accessible.h"
-
-/*
- * Static function declarations
- */
+/* Static function declarations */
static void
spi_hyperlink_class_init (SpiHyperlinkClass *klass);
BONOBO_TYPE_FUNC_FULL (SpiHyperlink,
Accessibility_Hyperlink,
- BONOBO_OBJECT_TYPE,
+ BONOBO_TYPE_OBJECT,
spi_hyperlink);
static void
SpiHyperlink *
spi_hyperlink_new (AtkHyperlink *hyperlink)
{
- SpiHyperlink *new_hyperlink =
- SPI_HYPERLINK(g_object_new (SPI_HYPERLINK_TYPE, NULL));
+ SpiHyperlink *new_hyperlink = g_object_new (
+ SPI_HYPERLINK_TYPE, NULL);
g_object_ref (hyperlink);
new_hyperlink->hyperlink = hyperlink;
return new_hyperlink;
SpiHyperlink *link = SPI_HYPERLINK(bonobo_object_from_servant(_servant));
return (CORBA_boolean) atk_hyperlink_is_valid (ATK_HYPERLINK(link->hyperlink));
}
-
-