blob: 12c39a5f009f7b58db5b9f63f353a938961fe56c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#include <glib-object.h>
#define BAR_TYPE_BAZ (bar_baz_get_type ())
#define BAR_BAZ(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BAR_TYPE_BAZ, BarBaz))
#define BAR_IS_BAZ(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BAR_TYPE_BAZ))
typedef struct BarBaz BarBaz;
typedef struct BarBazClass BarBazClass;
struct BarBaz
{
GObject parent_instance;
};
struct BarBazClass
{
GObjectClass parent_class;
};
GType bar_baz_get_type (void) G_GNUC_CONST;
void bar_app_func (void);
void bar_app_func2 (int x, double y);
/* The intent of this case is to match mutter, which has unprefixed names like "MutterWindow".
* In this case we don't want to add "Mutter" as a namespace prefix, since that gives us a
* clash on a class name. (MetaWindow and MutterWindow)
*/
#define MUTTER_TYPE_WINDOW (mutter_window_get_type ())
#define MUTTER_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), MUTTER_TYPE_WINDOW, MutterWindow))
#define MUTTER_IS_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), MUTTER_TYPE_WINDOW))
typedef struct MutterWindow MutterWindow;
typedef struct MutterWindowClass MutterWindowClass;
struct MutterWindow
{
GObject parent_instance;
};
struct MutterWindowClass
{
GObjectClass parent_class;
};
GType mutter_window_get_type (void) G_GNUC_CONST;
void mutter_window_func (MutterWindow *window, guint v);
|