blob: 8dd4eca85cfc809b18fa48e961f80868b54d5f03 (
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
|
#ifndef __LOL_FACTORY_H__
#define __LOL_FACTORY_H__
#include <mx/mx.h>
typedef struct _LolFactory LolFactory;
typedef struct _LolFactoryClass LolFactoryClass;
typedef struct _LolFactoryPrivate LolFactoryPrivate;
GType lol_factory_get_type (void);
#define LOL_TYPE_FACTORY \
(lol_factory_get_type ())
#define LOL_FACTORY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LOL_TYPE_FACTORY, \
LolFactory))
#define LOL_FACTORY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), LOL_TYPE_FACTORY, \
LolFactoryClass))
#define LOL_IS_FACTORY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LOL_TYPE_FACTORY))
#define LOL_IS_FACTORY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), LOL_TYPE_FACTORY))
#define LOL_FACTORY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), LOL_TYPE_FACTORY, \
LolFactoryClass))
struct _LolFactory
{
GObject parent;
LolFactoryPrivate *priv;
};
struct _LolFactoryClass
{
GObjectClass parent_class;
gpointer priv;
};
LolFactory *lol_factory_new (void);
#endif
|