up-client.h | up-client.h | |||
---|---|---|---|---|
skipping to change at line 85 | skipping to change at line 85 | |||
/* sync versions */ | /* sync versions */ | |||
UpDevice * up_client_get_display_device (UpClient *client); | UpDevice * up_client_get_display_device (UpClient *client); | |||
char * up_client_get_critical_action (UpClient *client); | char * up_client_get_critical_action (UpClient *client); | |||
/* 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_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_is_docked (UpClient *client); | ||||
gboolean up_client_get_on_battery (UpClient *client); | gboolean up_client_get_on_battery (UpClient *client); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __UP_CLIENT_H */ | #endif /* __UP_CLIENT_H */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 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 (99) | #define UP_MINOR_VERSION (99) | |||
/** | /** | |||
* UP_MICRO_VERSION: | * UP_MICRO_VERSION: | |||
* | * | |||
* The compile-time micro version | * The compile-time micro version | |||
*/ | */ | |||
#define UP_MICRO_VERSION (0) | #define UP_MICRO_VERSION (1) | |||
/* 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 | |||