X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=blobdiff_plain;f=libspi%2Fselection.h;h=7c5bd2519b57547ce52e8a392fa679ba39c92507;hp=877f22002e91abfe1bb93d793265e560751690bc;hb=d35cd400a36b0f1393c17ce47015bf753327ccae;hpb=408978dd34f3338e49b6ace5f60b7606579ce7a9 diff --git a/libspi/selection.h b/libspi/selection.h index 877f220..7c5bd25 100644 --- a/libspi/selection.h +++ b/libspi/selection.h @@ -20,42 +20,32 @@ #ifndef SPI_SELECTION_H_ #define SPI_SELECTION_H_ +#include +#include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS -#include -#include -#include - -#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_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)) +#define SPI_IS_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_SELECTION_TYPE)) +#define SPI_IS_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_SELECTION_TYPE)) -typedef struct _SpiSelection SpiSelection; +typedef struct _SpiSelection SpiSelection; typedef struct _SpiSelectionClass SpiSelectionClass; struct _SpiSelection { - BonoboObject parent; - AtkObject *atko; + SpiBase parent; }; struct _SpiSelectionClass { - BonoboObjectClass parent_class; - POA_Accessibility_SpiSelection__epv epv; + SpiBaseClass parent_class; + POA_Accessibility_Selection__epv epv; }; -GType -spi_selection_get_type (void); - -SpiSelection * -spi_selection_interface_new (AtkObject *obj); +GType spi_selection_get_type (void); +SpiSelection *spi_selection_interface_new (AtkObject *obj); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* SPI_SELECTION_H_ */