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-hid.h | |
parent | d2550b4c7854e970719b07b48ecdb61af9c01b6f (diff) | |
download | upower-25e51c96136c45632091a7b240f8935ce1d239ce.tar.gz |
trivial: DkpDevice -> UpDevice (no ABI or API break)
Diffstat (limited to 'src/linux/up-device-hid.h')
-rw-r--r-- | src/linux/up-device-hid.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/linux/up-device-hid.h b/src/linux/up-device-hid.h index 7736c94..86bd4d7 100644 --- a/src/linux/up-device-hid.h +++ b/src/linux/up-device-hid.h @@ -18,38 +18,38 @@ * */ -#ifndef __DKP_DEVICE_HID_H__ -#define __DKP_DEVICE_HID_H__ +#ifndef __UP_DEVICE_HID_H__ +#define __UP_DEVICE_HID_H__ #include <glib-object.h> #include "up-device.h" G_BEGIN_DECLS -#define DKP_TYPE_HID (dkp_device_hid_get_type ()) -#define DKP_DEVICE_HID(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DKP_TYPE_HID, DkpDeviceHid)) -#define DKP_DEVICE_HID_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DKP_TYPE_HID, DkpDeviceHidClass)) -#define DKP_IS_HID(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DKP_TYPE_HID)) -#define DKP_IS_HID_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DKP_TYPE_HID)) -#define DKP_DEVICE_HID_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DKP_TYPE_HID, DkpDeviceHidClass)) +#define UP_TYPE_DEVICE_HID (up_device_hid_get_type ()) +#define UP_DEVICE_HID(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UP_TYPE_DEVICE_HID, UpDeviceHid)) +#define UP_DEVICE_HID_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), UP_TYPE_DEVICE_HID, UpDeviceHidClass)) +#define UP_IS_DEVICE_HID(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UP_TYPE_DEVICE_HID)) +#define UP_IS_DEVICE_HID_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UP_TYPE_DEVICE_HID)) +#define UP_DEVICE_HID_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UP_TYPE_DEVICE_HID, UpDeviceHidClass)) -typedef struct DkpDeviceHidPrivate DkpDeviceHidPrivate; +typedef struct UpDeviceHidPrivate UpDeviceHidPrivate; typedef struct { - DkpDevice parent; - DkpDeviceHidPrivate *priv; -} DkpDeviceHid; + UpDevice parent; + UpDeviceHidPrivate *priv; +} UpDeviceHid; typedef struct { - DkpDeviceClass parent_class; -} DkpDeviceHidClass; + UpDeviceClass parent_class; +} UpDeviceHidClass; -GType dkp_device_hid_get_type (void); -DkpDeviceHid *dkp_device_hid_new (void); +GType up_device_hid_get_type (void); +UpDeviceHid *up_device_hid_new (void); G_END_DECLS -#endif /* __DKP_DEVICE_HID_H__ */ +#endif /* __UP_DEVICE_HID_H__ */ |