#define CHAMPLAIN_CACHE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), CHAMPLAIN_TYPE_CACHE, ChamplainCacheClass))
-typedef struct {
+typedef struct _ChamplainCache ChamplainCache;
+typedef struct _ChamplainCacheClass ChamplainCacheClass;
+
+struct _ChamplainCache {
GObject parent;
-} ChamplainCache;
+};
-typedef struct {
+struct _ChamplainCacheClass {
GObjectClass parent_class;
-} ChamplainCacheClass;
+};
GType champlain_cache_get_type (void);
#define CHAMPLAIN_LAYER_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), CHAMPLAIN_TYPE_LAYER, ChamplainLayerClass))
-typedef struct {
+typedef struct _ChamplainLayer ChamplainLayer;
+typedef struct _ChamplainLayerClass ChamplainLayerClass;
+
+struct _ChamplainLayer {
ClutterGroup parent;
-} ChamplainLayer;
+};
-typedef struct {
+struct _ChamplainLayerClass {
ClutterGroupClass parent_class;
-} ChamplainLayerClass;
+};
GType champlain_layer_get_type (void);
typedef struct _ChamplainPolygonPrivate ChamplainPolygonPrivate;
-typedef struct {
+typedef struct _ChamplainPolygon ChamplainPolygon;
+typedef struct _ChamplainPolygonClass ChamplainPolygonClass;
+
+struct _ChamplainPolygon {
GInitiallyUnowned parent;
ChamplainPolygonPrivate *priv;
-} ChamplainPolygon;
+};
-typedef struct {
+struct _ChamplainPolygonClass {
GInitiallyUnownedClass parent_class;
-} ChamplainPolygonClass;
+};
GType champlain_polygon_get_type (void);
CHAMPLAIN_SELECTION_MULTIPLE
} ChamplainSelectionMode;
-typedef struct {
+typedef struct _ChamplainSelectionLayer ChamplainSelectionLayer;
+typedef struct _ChamplainSelectionLayerClass ChamplainSelectionLayerClass;
+
+struct _ChamplainSelectionLayer {
ChamplainLayer parent;
ChamplainSelectionLayerPrivate *priv;
-} ChamplainSelectionLayer;
+};
-typedef struct {
+struct _ChamplainSelectionLayerClass {
ChamplainLayerClass parent_class;
-} ChamplainSelectionLayerClass;
+};
GType champlain_selection_layer_get_type (void);
typedef struct _ChamplainTilePrivate ChamplainTilePrivate;
-typedef struct {
+typedef struct _ChamplainTile ChamplainTile;
+typedef struct _ChamplainTileClass ChamplainTileClass;
+
+struct _ChamplainTile {
GObject parent;
ChamplainTilePrivate *priv;
-} ChamplainTile;
+};
-typedef struct {
+struct _ChamplainTileClass {
GObjectClass parent_class;
-} ChamplainTileClass;
+};
GType champlain_tile_get_type (void);