cd-version

cd-version — Obtains the version for the installed colord

Synopsis

#define             CD_CHECK_VERSION                    (major,
                                                         minor,
                                                         micro)
#define             CD_MAJOR_VERSION
#define             CD_MICRO_VERSION
#define             CD_MINOR_VERSION

Description

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

See also: CdClient, CdDevice

Details

CD_CHECK_VERSION()

#define             CD_CHECK_VERSION(major,minor,micro)

Check whether a colord version equal to or greater than major.minor.micro.


CD_MAJOR_VERSION

#define CD_MAJOR_VERSION				(0)

The compile-time major version


CD_MICRO_VERSION

#define CD_MICRO_VERSION				(29)

The compile-time micro version


CD_MINOR_VERSION

#define CD_MINOR_VERSION				(1)

The compile-time minor version