up-version

up-version — Obtains the version for the installed UPower

Functions

#define UP_CHECK_VERSION()

Types and Values

Description

These compile time macros allow the user to enable parts of client code depending on the version of libupower-glib installed.

Functions

UP_CHECK_VERSION()

#define             UP_CHECK_VERSION(major,minor,micro)

The compile-time major version

Types and Values

UP_MAJOR_VERSION

#define UP_MAJOR_VERSION				(0)

UP_MINOR_VERSION

#define UP_MINOR_VERSION				(99)

UP_MICRO_VERSION

#define UP_MICRO_VERSION				(11)

The compile-time micro version

See Also

UpClient, UpDevice