~macslow/unity/unity.remote-add

« back to all changes in this revision

Viewing changes to tests/test_service_gdbus_wrapper.h

  • Committer: Gord Allott
  • Date: 2012-02-21 15:17:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2000.
  • Revision ID: gord.allott@canonical.com-20120221151718-lalghyc5wr33ye70
adds a gdbus test and service

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SERVICE_GDBUS_WRAPPER_H_
 
2
#define _SERVICE_GDBUS_WRAPPER_H_
 
3
 
 
4
#include <glib-object.h>
 
5
G_BEGIN_DECLS
 
6
 
 
7
#define SERVICE_TYPE_GDBUS_WRAPPER (service_gdbus_wrapper_get_type ())
 
8
 
 
9
#define SERVICE_GDBUS_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
 
10
  SERVICE_TYPE_GDBUS_WRAPPER, ServiceGDBusWrapper))
 
11
 
 
12
#define SERVICE_GDBUS_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
 
13
  SERVICE_TYPE_GDBUS_WRAPPER, ServiceGDBusWrapperClass))
 
14
 
 
15
#define SERVICE_IS_GDBUS_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
 
16
  SERVICE_TYPE_GDBUS_WRAPPER))
 
17
 
 
18
#define SERVICE_IS_GDBUS_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
 
19
  SERVICE_TYPE_GDBUS_WRAPPER))
 
20
 
 
21
#define ServiceGDBusWrapper_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
 
22
  SERVICE_TYPE_GDBUS_WRAPPER, ServiceGDBusWrapperClass))
 
23
 
 
24
typedef struct _ServiceGDBusWrapper        ServiceGDBusWrapper;
 
25
typedef struct _ServiceGDBusWrapperClass   ServiceGDBusWrapperClass;
 
26
typedef struct _ServiceGDBusWrapperPrivate ServiceGDBusWrapperPrivate;
 
27
 
 
28
struct _ServiceGDBusWrapper
 
29
{
 
30
  GObject parent;
 
31
 
 
32
  ServiceGDBusWrapperPrivate *priv;
 
33
};
 
34
 
 
35
struct _ServiceGDBusWrapperClass
 
36
{
 
37
  GObjectClass parent_class;
 
38
};
 
39
 
 
40
GType service_gdbus_wrapper_get_type(void) G_GNUC_CONST;
 
41
 
 
42
ServiceGDBusWrapper* service_gdbus_wrapper_new(void);
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* _SERVICE_GDBUS_WRAPPER_H_ */