Started fixing IDL docs.
[platform/core/uifw/at-spi2-atk.git] / libspi / selection.h
index 877f220..7bf6736 100644 (file)
 #ifndef SPI_SELECTION_H_
 #define SPI_SELECTION_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_SELECTION_TYPE        (spi_selection_get_type ())
 #define SPI_SELECTION(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_SELECTION_TYPE, SpiSelection))
 #define SPI_SELECTION_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), SPI_SELECTION_TYPE, SpiSelectionClass))
 #define IS_SPI_SELECTION(obj)       (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_SELECTION_TYPE))
 #define IS_SPI_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_SELECTION_TYPE))
 
-typedef struct _SpiSelection SpiSelection;
-typedef struct _SpiSelectionClass SpiSelectionClass;
+typedef struct _Selection SpiSelection;
+typedef struct _SelectionClass SpiSelectionClass;
 
-struct _SpiSelection {
+struct _Selection {
   BonoboObject parent;
   AtkObject *atko;
 };
 
-struct _SpiSelectionClass {
+struct _SelectionClass {
   BonoboObjectClass parent_class;
-  POA_Accessibility_SpiSelection__epv epv;
+  POA_Accessibility_Selection__epv epv;
 };
 
 GType
@@ -54,8 +51,6 @@ spi_selection_get_type   (void);
 SpiSelection *
 spi_selection_interface_new       (AtkObject *obj);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* SPI_SELECTION_H_ */