dkp-version.h | dkp-version.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
#if !defined (__UPOWER_H_INSIDE__) && !defined (UP_COMPILATION) | #if !defined (__UPOWER_H_INSIDE__) && !defined (UP_COMPILATION) | |||
#error "Only <devicekit-power.h> can be included directly." | #error "Only <devicekit-power.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __DKP_VERSION_H | #ifndef __DKP_VERSION_H | |||
#define __DKP_VERSION_H | #define __DKP_VERSION_H | |||
/* compile time version | /* compile time version | |||
*/ | */ | |||
#define DKP_COMPILE_VERSION (0x0.9.1) | #define DKP_COMPILE_VERSION (0x0.9.2) | |||
/* check whether a the version is above the compile time version. | /* check whether a the version is above the compile time version. | |||
*/ | */ | |||
#define DKP_CHECK_VERSION(ver) (1) | #define DKP_CHECK_VERSION(ver) (1) | |||
#endif /* __DKP_VERSION_H */ | #endif /* __DKP_VERSION_H */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
up-client.h | up-client.h | |||
---|---|---|---|---|
skipping to change at line 101 | skipping to change at line 101 | |||
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); | |||
/* 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); | |||
gboolean up_client_get_can_hibernate (UpClient *client); | gboolean up_client_get_can_hibernate (UpClient *client); | |||
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_can_suspend (UpClient *client); | gboolean up_client_get_can_suspend (UpClient *client); | |||
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. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
up-history-item.h | up-history-item.h | |||
---|---|---|---|---|
skipping to change at line 63 | skipping to change at line 63 | |||
GType up_history_item_get_type (void); | GType up_history_item_get_type (void); | |||
UpHistoryItem *up_history_item_new (void); | UpHistoryItem *up_history_item_new (void); | |||
gdouble up_history_item_get_value (UpHistoryIt em *history_item); | gdouble up_history_item_get_value (UpHistoryIt em *history_item); | |||
void up_history_item_set_value (UpHistoryItem *history_item, | void up_history_item_set_value (UpHistoryItem *history_item, | |||
gdouble value); | gdouble value); | |||
guint up_history_item_get_time (UpHistoryItem *history_item); | guint up_history_item_get_time (UpHistoryItem *history_item); | |||
void up_history_item_set_time (UpHistoryItem *history_item, | void up_history_item_set_time (UpHistoryItem *history_item, | |||
guint time); | guint time); | |||
void up_history_item_set_time_to_present (UpHistoryItem *history_item); | ||||
UpDeviceState up_history_item_get_state (UpHistoryItem *history_item); | UpDeviceState up_history_item_get_state (UpHistoryItem *history_item); | |||
void up_history_item_set_state (UpHistoryItem *history_item, | void up_history_item_set_state (UpHistoryItem *history_item, | |||
UpDeviceState state); | UpDeviceState state); | |||
gchar *up_history_item_to_string (UpHistoryItem | ||||
*history_item); | ||||
gboolean up_history_item_set_from_string (UpHistoryItem | ||||
*history_item, | ||||
const gchar | ||||
*text); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __UP_HISTORY_ITEM_H */ | #endif /* __UP_HISTORY_ITEM_H */ | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 7 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 (1) | #define UP_MICRO_VERSION (2) | |||
/* 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 | |||