Fixed test to support signals carrying service
[maevies] / src / mvs-minfo-provider-service.h
1 /*
2  * mvs-minfo-provider-service.h
3  *
4  * This file is part of maevies
5  * Copyright (C) 2010 Simón Pena <spenap@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  */
18
19 #ifndef _MVS_MINFO_PROVIDER_SERVICE
20 #define _MVS_MINFO_PROVIDER_SERVICE
21
22 #include <glib-object.h>
23
24 G_BEGIN_DECLS
25
26 #define MVS_TYPE_MINFO_PROVIDER_SERVICE mvs_minfo_provider_service_get_type()
27 #define MVS_MINFO_PROVIDER_SERVICE(obj) \
28   (G_TYPE_CHECK_INSTANCE_CAST ((obj), MVS_TYPE_MINFO_PROVIDER_SERVICE, MvsMInfoProviderService))
29 #define MVS_MINFO_PROVIDER_SERVICE_CLASS(klass) \
30   (G_TYPE_CHECK_CLASS_CAST ((klass), MVS_TYPE_MINFO_PROVIDER_SERVICE, MvsMInfoProviderServiceClass))
31 #define MVS_IS_MINFO_PROVIDER_SERVICE(obj) \
32   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MVS_TYPE_MINFO_PROVIDER_SERVICE))
33 #define MVS_IS_MINFO_PROVIDER_SERVICE_CLASS(klass) \
34   (G_TYPE_CHECK_CLASS_TYPE ((klass), MVS_TYPE_MINFO_PROVIDER_SERVICE))
35 #define MVS_MINFO_PROVIDER_SERVICE_GET_CLASS(obj) \
36   (G_TYPE_INSTANCE_GET_CLASS ((obj), MVS_TYPE_MINFO_PROVIDER_SERVICE, MvsMInfoProviderServiceClass))
37
38 typedef struct _MvsMInfoProviderServicePrivate MvsMInfoProviderServicePrivate;
39
40 typedef struct {
41         GObject parent;
42
43         /* <private> */
44         MvsMInfoProviderServicePrivate *priv;
45 } MvsMInfoProviderService;
46
47 typedef struct {
48         GObjectClass parent_class;
49 } MvsMInfoProviderServiceClass;
50
51 GType mvs_minfo_provider_service_get_type (void);
52 MvsMInfoProviderService* mvs_minfo_provider_service_new (DBusGConnection *connection);
53
54 G_END_DECLS
55
56 #endif /* _MVS_MINFO_PROVIDER_SERVICE */