Added simple scanning to the virtual keyboard demo, to show one way to
[platform/core/uifw/at-spi2-atk.git] / libspi / hyperlink.h
index 91186e9..d79c5e5 100644 (file)
 #ifndef SPI_HYPERLINK_H_
 #define SPI_HYPERLINK_H_
 
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 #include <bonobo/bonobo-object.h>
 #include <atk/atk.h>
 #include <libspi/Accessibility.h>
 
+G_BEGIN_DECLS
+
 #define SPI_HYPERLINK_TYPE        (spi_hyperlink_get_type ())
 #define SPI_HYPERLINK(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_HYPERLINK_TYPE, SpiHyperlink))
 #define SPI_HYPERLINK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), SPI_HYPERLINK_TYPE, SpiHyperlinkClass))
 #define IS_SPI_HYPERLINK(obj)       (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SPI_HYPERLINK_TYPE))
 #define IS_SPI_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_HYPERLINK_TYPE))
 
-typedef struct _SpiHyperlink SpiHyperlink;
-typedef struct _SpiHyperlinkClass SpiHyperlinkClass;
+typedef struct _Hyperlink SpiHyperlink;
+typedef struct _HyperlinkClass SpiHyperlinkClass;
 
-struct _SpiHyperlink {
+struct _Hyperlink {
   BonoboObject parent;
-  AtkObject *atko;
+  AtkHyperlink *hyperlink;
 };
 
-struct _SpiHyperlinkClass {
+struct _HyperlinkClass {
   BonoboObjectClass parent_class;
-  POA_Accessibility_SpiHyperlink__epv epv;
+  POA_Accessibility_Hyperlink__epv epv;
 };
 
 GType
 spi_hyperlink_get_type   (void);
 
 SpiHyperlink *
-spi_hyperlink_interface_new       (AtkObject *obj);
+spi_hyperlink_new       ();
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* SPI_HYPERLINK_H_ */