55.1395.16
by Gord Allott
added tests |
1 |
#ifndef _SERVICE_HUD_H_
|
2 |
#define _SERVICE_HUD_H_
|
|
3 |
||
4 |
#include <glib-object.h> |
|
5 |
G_BEGIN_DECLS
|
|
6 |
||
7 |
#define SERVICE_TYPE_HUD (service_hud_get_type ())
|
|
8 |
||
9 |
#define SERVICE_HUD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
|
|
10 |
SERVICE_TYPE_HUD, ServiceHud))
|
|
11 |
||
12 |
#define SERVICE_HUD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
|
|
13 |
SERVICE_TYPE_HUD, ServiceHudClass))
|
|
14 |
||
15 |
#define SERVICE_IS_HUD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
|
|
16 |
SERVICE_TYPE_HUD))
|
|
17 |
||
18 |
#define SERVICE_IS_HUD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
|
|
19 |
SERVICE_TYPE_HUD))
|
|
20 |
||
21 |
#define ServiceHud_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
|
|
22 |
SERVICE_TYPE_HUD, ServiceHudClass))
|
|
23 |
||
24 |
typedef struct _ServiceHud ServiceHud; |
|
25 |
typedef struct _ServiceHudClass ServiceHudClass; |
|
26 |
typedef struct _ServiceHudPrivate ServiceHudPrivate; |
|
27 |
||
28 |
struct _ServiceHud |
|
29 |
{
|
|
30 |
GObject parent; |
|
31 |
||
32 |
ServiceHudPrivate *priv; |
|
33 |
};
|
|
34 |
||
35 |
struct _ServiceHudClass |
|
36 |
{
|
|
37 |
GObjectClass parent_class; |
|
38 |
};
|
|
39 |
||
40 |
GType service_hud_get_type(void) G_GNUC_CONST; |
|
41 |
||
42 |
ServiceHud* service_hud_new(void); |
|
43 |
||
44 |
G_END_DECLS
|
|
45 |
||
46 |
#endif /* _SERVICE_HUD_H_ */ |