2
DBus facing code for the HUD
4
Copyright 2011 Canonical Ltd.
7
Ted Gould <ted@canonical.com>
9
This program is free software: you can redistribute it and/or modify it
10
under the terms of the GNU General Public License version 3, as published
11
by the Free Software Foundation.
13
This program is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranties of
15
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
16
PURPOSE. See the GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License along
19
with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef __HUD_DBUS_H__
23
#define __HUD_DBUS_H__
26
#include <glib-object.h>
30
#define HUD_DBUS_TYPE (hud_dbus_get_type ())
31
#define HUD_DBUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_DBUS_TYPE, HudDbus))
32
#define HUD_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_DBUS_TYPE, HudDbusClass))
33
#define IS_HUD_DBUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_DBUS_TYPE))
34
#define IS_HUD_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_DBUS_TYPE))
35
#define HUD_DBUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_DBUS_TYPE, HudDbusClass))
37
typedef struct _HudDbus HudDbus;
38
typedef struct _HudDbusClass HudDbusClass;
39
typedef struct _HudDbusPrivate HudDbusPrivate;
41
struct _HudDbusClass {
42
GObjectClass parent_class;
47
HudDbusPrivate * priv;
50
GType hud_dbus_get_type (void);
51
HudDbus * hud_dbus_new (void);