diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-18 13:15:47 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-18 13:15:47 +0000 |
commit | c8cec18f064f5cb86896e6ff17d96d73fb9fd0dc (patch) | |
tree | 0bc59ad642101d89220764120b6a5127d3a0c6af /src/linux/up-input.h | |
parent | e04b5a9e0061689a39e213a819bafb851a978971 (diff) | |
download | upower-c8cec18f064f5cb86896e6ff17d96d73fb9fd0dc.tar.gz |
trivial: DkpInput -> UpInput (no ABI or API break)
Diffstat (limited to 'src/linux/up-input.h')
-rw-r--r-- | src/linux/up-input.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/linux/up-input.h b/src/linux/up-input.h index 3b7ee87..c42808b 100644 --- a/src/linux/up-input.h +++ b/src/linux/up-input.h @@ -18,8 +18,8 @@ * */ -#ifndef __DKP_INPUT_H__ -#define __DKP_INPUT_H__ +#ifndef __UP_INPUT_H__ +#define __UP_INPUT_H__ #include <glib-object.h> @@ -27,33 +27,33 @@ G_BEGIN_DECLS -#define DKP_TYPE_INPUT (dkp_input_get_type ()) -#define DKP_INPUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DKP_TYPE_INPUT, DkpInput)) -#define DKP_INPUT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DKP_TYPE_INPUT, DkpInputClass)) -#define DKP_IS_INPUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DKP_TYPE_INPUT)) -#define DKP_IS_INPUT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DKP_TYPE_INPUT)) -#define DKP_INPUT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DKP_TYPE_INPUT, DkpInputClass)) +#define UP_TYPE_INPUT (up_input_get_type ()) +#define UP_INPUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UP_TYPE_INPUT, UpInput)) +#define UP_INPUT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), UP_TYPE_INPUT, UpInputClass)) +#define UP_IS_INPUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UP_TYPE_INPUT)) +#define UP_IS_INPUT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UP_TYPE_INPUT)) +#define UP_INPUT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UP_TYPE_INPUT, UpInputClass)) -typedef struct DkpInputPrivate DkpInputPrivate; +typedef struct UpInputPrivate UpInputPrivate; typedef struct { GObject parent; - DkpInputPrivate *priv; -} DkpInput; + UpInputPrivate *priv; +} UpInput; typedef struct { GObjectClass parent_class; -} DkpInputClass; +} UpInputClass; -GType dkp_input_get_type (void); -DkpInput *dkp_input_new (void); -gboolean dkp_input_coldplug (DkpInput *input, +GType up_input_get_type (void); +UpInput *up_input_new (void); +gboolean up_input_coldplug (UpInput *input, UpDaemon *daemon, GUdevDevice *d); G_END_DECLS -#endif /* __DKP_INPUT_H__ */ +#endif /* __UP_INPUT_H__ */ |