X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libspi%2Frelation.h;h=eb1c05e37a9e6779762ce09d8860500540bf64f8;hb=68b558bcef701bc71b1b7e53f68935f9c632fcdb;hp=b9235570388bc09843d3a71f51a501d2adb26a57;hpb=81b1d9195d65999050f103b1fbe9c3c7ce8c99c6;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/libspi/relation.h b/libspi/relation.h index b923557..eb1c05e 100644 --- a/libspi/relation.h +++ b/libspi/relation.h @@ -21,36 +21,31 @@ #ifndef SPI_RELATION_H_ #define SPI_RELATION_H_ -#include -#include -#include +#include +#include G_BEGIN_DECLS -#define SPI_RELATION_TYPE (spi_relation_get_type ()) -#define SPI_RELATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_RELATION_TYPE, SpiRelation)) +#define SPI_RELATION_TYPE (spi_relation_get_type ()) +#define SPI_RELATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_RELATION_TYPE, SpiRelation)) #define SPI_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_RELATION_TYPE, SpiRelationClass)) -#define IS_SPI_RELATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_RELATION_TYPE)) -#define IS_SPI_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_RELATION_TYPE)) +#define SPI_IS_RELATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_RELATION_TYPE)) +#define SPI_IS_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_RELATION_TYPE)) typedef struct _SpiRelation SpiRelation; typedef struct _SpiRelationClass SpiRelationClass; struct _SpiRelation { - BonoboObject parent; - AtkRelation *relation; + SpiBase parent; }; struct _SpiRelationClass { - BonoboObjectClass parent_class; + SpiBaseClass parent_class; POA_Accessibility_Relation__epv epv; }; -GType -spi_relation_get_type (void); - -SpiRelation * -spi_relation_new (AtkRelation *relation); +GType spi_relation_get_type (void); +SpiRelation *spi_relation_new (AtkRelation *relation); G_END_DECLS