missing commit in generator.h
[galan.git] / src / galan-compaction.h
blobd25344abcbcdd7710f03761b384f21592f3fbb93
1 /* Generated by GOB (v2.0.12) (do not edit directly) */
3 #include <glib.h>
4 #include <glib-object.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <stdio.h>
11 #include <gdk/gdk.h>
12 #include <gtk/gtk.h>
14 #include "global.h"
15 #include "generator.h"
16 #include "comp.h"
17 #include "sheet.h"
18 #include "msgbox.h"
19 #include "control.h"
20 #include "gencomp.h"
21 #include "gui.h"
24 #ifndef __GALAN_COMPACTION_H__
25 #define __GALAN_COMPACTION_H__
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
33 * Type checking and casting macros
35 #define GALAN_TYPE_COMPACTION (galan_compaction_get_type())
36 #define GALAN_COMPACTION(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), galan_compaction_get_type(), GalanCompAction)
37 #define GALAN_COMPACTION_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), galan_compaction_get_type(), GalanCompAction const)
38 #define GALAN_COMPACTION_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), galan_compaction_get_type(), GalanCompActionClass)
39 #define GALAN_IS_COMPACTION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), galan_compaction_get_type ())
41 #define GALAN_COMPACTION_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), galan_compaction_get_type(), GalanCompActionClass)
44 * Main object structure
46 #ifndef __TYPEDEF_GALAN_COMPACTION__
47 #define __TYPEDEF_GALAN_COMPACTION__
48 typedef struct _GalanCompAction GalanCompAction;
49 #endif
50 struct _GalanCompAction {
51 GtkAction __parent__;
52 /*< public >*/
53 ComponentClass * klass;
54 gpointer init_data;
55 GtkWidget * dragwidget;
59 * Class definition
61 typedef struct _GalanCompActionClass GalanCompActionClass;
62 struct _GalanCompActionClass {
63 GtkActionClass __parent__;
68 * Public methods
70 GType galan_compaction_get_type (void);
71 void galan_compaction_create_comp (GalanCompAction * self,
72 Sheet * s,
73 int x,
74 int y);
77 * Argument wrapping macros
79 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
80 #define GALAN_COMPACTION_PROP_KLASS(arg) "klass", __extension__ ({gpointer z = (arg); z;})
81 #define GALAN_COMPACTION_GET_PROP_KLASS(arg) "klass", __extension__ ({gpointer *z = (arg); z;})
82 #define GALAN_COMPACTION_PROP_INIT_DATA(arg) "init_data", __extension__ ({gpointer z = (arg); z;})
83 #define GALAN_COMPACTION_GET_PROP_INIT_DATA(arg) "init_data", __extension__ ({gpointer *z = (arg); z;})
84 #else /* __GNUC__ && !__STRICT_ANSI__ */
85 #define GALAN_COMPACTION_PROP_KLASS(arg) "klass",(gpointer )(arg)
86 #define GALAN_COMPACTION_GET_PROP_KLASS(arg) "klass",(gpointer *)(arg)
87 #define GALAN_COMPACTION_PROP_INIT_DATA(arg) "init_data",(gpointer )(arg)
88 #define GALAN_COMPACTION_GET_PROP_INIT_DATA(arg) "init_data",(gpointer *)(arg)
89 #endif /* __GNUC__ && !__STRICT_ANSI__ */
92 #ifdef __cplusplus
94 #endif /* __cplusplus */
96 #endif