up-client.h   up-client.h 
skipping to change at line 63 skipping to change at line 63
typedef struct typedef struct
{ {
GObjectClass parent_class; GObjectClass parent_class;
void (*device_added) (UpClient *client, void (*device_added) (UpClient *client,
UpDevice *device); UpDevice *device);
void (*device_changed) (UpClient *client, void (*device_changed) (UpClient *client,
UpDevice *device); UpDevice *device);
void (*device_removed) (UpClient *client, void (*device_removed) (UpClient *client,
UpDevice *device); UpDevice *device);
void (*changed) (UpClient *client); void (*changed) (UpClient *client);
/* FIXME: remove when we next break API */
void (*notify_sleep) (UpClient *client, void (*notify_sleep) (UpClient *client,
UpSleepKind sleep_kind); UpSleepKind sleep_kind);
/* FIXME: remove when we next break API */
void (*notify_resume) (UpClient *client, void (*notify_resume) (UpClient *client,
UpSleepKind sleep_kind); UpSleepKind sleep_kind);
/*< private >*/ /*< private >*/
/* Padding for future expansion */ /* Padding for future expansion */
void (*_up_client_reserved1) (void); void (*_up_client_reserved1) (void);
void (*_up_client_reserved2) (void); void (*_up_client_reserved2) (void);
void (*_up_client_reserved3) (void); void (*_up_client_reserved3) (void);
void (*_up_client_reserved4) (void); void (*_up_client_reserved4) (void);
void (*_up_client_reserved5) (void); void (*_up_client_reserved5) (void);
void (*_up_client_reserved6) (void); void (*_up_client_reserved6) (void);
skipping to change at line 90 skipping to change at line 92
GType up_client_get_type (void); GType up_client_get_type (void);
UpClient *up_client_new (void); UpClient *up_client_new (void);
/* sync versions */ /* sync versions */
gboolean up_client_get_properties_sync (UpClient *client, gboolean up_client_get_properties_sync (UpClient *client,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gboolean up_client_enumerate_devices_sync (UpClient *client, gboolean up_client_enumerate_devices_sync (UpClient *client,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
#ifdef UPOWER_ENABLE_DEPRECATED
gboolean up_client_suspend_sync (UpClient *client, gboolean up_client_suspend_sync (UpClient *client,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gboolean up_client_about_to_sleep_sync (UpClient *client, gboolean up_client_about_to_sleep_sync (UpClient *client,
UpSleepKind sleep_kind, UpSleepKind sleep_kind,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gboolean up_client_hibernate_sync (UpClient *client, gboolean up_client_hibernate_sync (UpClient *client,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
#endif
/* accessors */ /* accessors */
GPtrArray *up_client_get_devices (UpClient *client); GPtrArray *up_client_get_devices (UpClient *client);
const gchar *up_client_get_daemon_version (UpClient *client); const gchar *up_client_get_daemon_version (UpClient *client);
#ifdef UPOWER_ENABLE_DEPRECATED
gboolean up_client_get_can_hibernate (UpClient *client); gboolean up_client_get_can_hibernate (UpClient *client);
#endif
gboolean up_client_get_lid_is_closed (UpClient *client); gboolean up_client_get_lid_is_closed (UpClient *client);
gboolean up_client_get_lid_is_present (UpClient *client); gboolean up_client_get_lid_is_present (UpClient *client);
gboolean up_client_get_lid_force_sleep (UpClient *client); gboolean up_client_get_lid_force_sleep (UpClient *client);
gboolean up_client_get_is_docked (UpClient *client); gboolean up_client_get_is_docked (UpClient *client);
#ifdef UPOWER_ENABLE_DEPRECATED
gboolean up_client_get_can_suspend (UpClient *client); gboolean up_client_get_can_suspend (UpClient *client);
#endif
gboolean up_client_get_on_battery (UpClient *client); gboolean up_client_get_on_battery (UpClient *client);
gboolean up_client_get_on_low_battery (UpClient *client); gboolean up_client_get_on_low_battery (UpClient *client);
G_END_DECLS G_END_DECLS
#endif /* __UP_CLIENT_H */ #endif /* __UP_CLIENT_H */
 End of changes. 8 change blocks. 
0 lines changed or deleted 8 lines changed or added


 up-version.h   up-version.h 
skipping to change at line 58 skipping to change at line 58
* *
* The compile-time minor version * The compile-time minor version
*/ */
#define UP_MINOR_VERSION (9) #define UP_MINOR_VERSION (9)
/** /**
* UP_MICRO_VERSION: * UP_MICRO_VERSION:
* *
* The compile-time micro version * The compile-time micro version
*/ */
#define UP_MICRO_VERSION (19) #define UP_MICRO_VERSION (20)
/* check whether a UPower version equal to or greater than /* check whether a UPower version equal to or greater than
* major.minor.micro. * major.minor.micro.
*/ */
#define UP_CHECK_VERSION(major,minor,micro) \ #define UP_CHECK_VERSION(major,minor,micro) \
(UP_MAJOR_VERSION > (major) || \ (UP_MAJOR_VERSION > (major) || \
(UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION > (minor)) || \ (UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION > (minor)) || \
(UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION == (minor) && \ (UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION == (minor) && \
UP_MICRO_VERSION >= (micro))) UP_MICRO_VERSION >= (micro)))
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/