diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:49:30 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-18 12:49:30 +0000 |
commit | 25e51c96136c45632091a7b240f8935ce1d239ce (patch) | |
tree | 85d17e0631078617488d2b626575003f80bd7686 /src/linux/up-device-wup.h | |
parent | d2550b4c7854e970719b07b48ecdb61af9c01b6f (diff) | |
download | upower-25e51c96136c45632091a7b240f8935ce1d239ce.tar.gz |
trivial: DkpDevice -> UpDevice (no ABI or API break)
Diffstat (limited to 'src/linux/up-device-wup.h')
-rw-r--r-- | src/linux/up-device-wup.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/linux/up-device-wup.h b/src/linux/up-device-wup.h index 9d39360..27531fd 100644 --- a/src/linux/up-device-wup.h +++ b/src/linux/up-device-wup.h @@ -18,38 +18,38 @@ * */ -#ifndef __DKP_DEVICE_WUP_H__ -#define __DKP_DEVICE_WUP_H__ +#ifndef __UP_DEVICE_WUP_H__ +#define __UP_DEVICE_WUP_H__ #include <glib-object.h> #include "up-device.h" G_BEGIN_DECLS -#define DKP_TYPE_WUP (dkp_device_wup_get_type ()) -#define DKP_DEVICE_WUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DKP_TYPE_WUP, DkpDeviceWup)) -#define DKP_DEVICE_WUP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DKP_TYPE_WUP, DkpDeviceWupClass)) -#define DKP_IS_WUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DKP_TYPE_WUP)) -#define DKP_IS_WUP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DKP_TYPE_WUP)) -#define DKP_DEVICE_WUP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DKP_TYPE_WUP, DkpDeviceWupClass)) +#define UP_TYPE_DEVICE_WUP (up_device_wup_get_type ()) +#define UP_DEVICE_WUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UP_TYPE_DEVICE_WUP, UpDeviceWup)) +#define UP_DEVICE_WUP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), UP_TYPE_DEVICE_WUP, UpDeviceWupClass)) +#define UP_IS_DEVICE_WUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UP_TYPE_DEVICE_WUP)) +#define UP_IS_DEVICE_WUP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UP_TYPE_DEVICE_WUP)) +#define UP_DEVICE_WUP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UP_TYPE_DEVICE_WUP, UpDeviceWupClass)) -typedef struct DkpDeviceWupPrivate DkpDeviceWupPrivate; +typedef struct UpDeviceWupPrivate UpDeviceWupPrivate; typedef struct { - DkpDevice parent; - DkpDeviceWupPrivate *priv; -} DkpDeviceWup; + UpDevice parent; + UpDeviceWupPrivate *priv; +} UpDeviceWup; typedef struct { - DkpDeviceClass parent_class; -} DkpDeviceWupClass; + UpDeviceClass parent_class; +} UpDeviceWupClass; -GType dkp_device_wup_get_type (void); -DkpDeviceWup *dkp_device_wup_new (void); +GType up_device_wup_get_type (void); +UpDeviceWup *up_device_wup_new (void); G_END_DECLS -#endif /* __DKP_DEVICE_WUP_H__ */ +#endif /* __UP_DEVICE_WUP_H__ */ |