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-supply.h | |
parent | d2550b4c7854e970719b07b48ecdb61af9c01b6f (diff) | |
download | upower-25e51c96136c45632091a7b240f8935ce1d239ce.tar.gz |
trivial: DkpDevice -> UpDevice (no ABI or API break)
Diffstat (limited to 'src/linux/up-device-supply.h')
-rw-r--r-- | src/linux/up-device-supply.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/linux/up-device-supply.h b/src/linux/up-device-supply.h index e1b042f..a83c0fd 100644 --- a/src/linux/up-device-supply.h +++ b/src/linux/up-device-supply.h @@ -19,38 +19,38 @@ * */ -#ifndef __DKP_DEVICE_SUPPLY_H__ -#define __DKP_DEVICE_SUPPLY_H__ +#ifndef __UP_DEVICE_SUPPLY_H__ +#define __UP_DEVICE_SUPPLY_H__ #include <glib-object.h> #include "up-device.h" G_BEGIN_DECLS -#define DKP_TYPE_SUPPLY (dkp_device_supply_get_type ()) -#define DKP_DEVICE_SUPPLY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DKP_TYPE_SUPPLY, DkpDeviceSupply)) -#define DKP_DEVICE_SUPPLY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DKP_TYPE_SUPPLY, DkpDeviceSupplyClass)) -#define DKP_IS_SUPPLY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DKP_TYPE_SUPPLY)) -#define DKP_IS_SUPPLY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DKP_TYPE_SUPPLY)) -#define DKP_DEVICE_SUPPLY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DKP_TYPE_SUPPLY, DkpDeviceSupplyClass)) +#define UP_TYPE_DEVICE_SUPPLY (up_device_supply_get_type ()) +#define UP_DEVICE_SUPPLY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UP_TYPE_DEVICE_SUPPLY, UpDeviceSupply)) +#define UP_DEVICE_SUPPLY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), UP_TYPE_DEVICE_SUPPLY, UpDeviceSupplyClass)) +#define UP_IS_DEVICE_SUPPLY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UP_TYPE_DEVICE_SUPPLY)) +#define UP_IS_DEVICE_SUPPLY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UP_TYPE_DEVICE_SUPPLY)) +#define UP_DEVICE_SUPPLY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UP_TYPE_DEVICE_SUPPLY, UpDeviceSupplyClass)) -typedef struct DkpDeviceSupplyPrivate DkpDeviceSupplyPrivate; +typedef struct UpDeviceSupplyPrivate UpDeviceSupplyPrivate; typedef struct { - DkpDevice parent; - DkpDeviceSupplyPrivate *priv; -} DkpDeviceSupply; + UpDevice parent; + UpDeviceSupplyPrivate *priv; +} UpDeviceSupply; typedef struct { - DkpDeviceClass parent_class; -} DkpDeviceSupplyClass; + UpDeviceClass parent_class; +} UpDeviceSupplyClass; -GType dkp_device_supply_get_type (void); -DkpDeviceSupply *dkp_device_supply_new (void); +GType up_device_supply_get_type (void); +UpDeviceSupply *up_device_supply_new (void); G_END_DECLS -#endif /* __DKP_DEVICE_SUPPLY_H__ */ +#endif /* __UP_DEVICE_SUPPLY_H__ */ |