~ubuntu-branches/ubuntu/oneiric/polkit-qt-1/oneiric

« back to all changes in this revision

Viewing changes to polkitqt1-version.h.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-12-09 08:31:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101209083142-afdb8t0gs3lgca3f
Tags: 0.99.0-0ubuntu1
* New upstream release:
  - Update libpolkit-qt-1-dev.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "polkitqt1-export.h"
25
25
 
26
26
/// @brief PolkitQt-1 version as string at compile time.
27
 
#define POLKITQT1_VERSION_STRING "${CMAKE_POLKITQT-1_VERSION_STRING}"
 
27
#define POLKITQT1_VERSION_STRING "${POLKITQT-1_VERSION_STRING}"
28
28
 
29
29
/// @brief The major PolkitQt-1 version number at compile time
30
 
#define POLKITQT1_VERSION_MAJOR ${CMAKE_MAJOR_POLKITQT-1_VERSION}
 
30
#define POLKITQT1_VERSION_MAJOR ${POLKITQT-1_VERSION_MAJOR}
31
31
 
32
32
/// @brief The minor PolkitQt-1 version number at compile time
33
 
#define POLKITQT1_VERSION_MINOR ${CMAKE_MINOR_POLKITQT-1_VERSION}
 
33
#define POLKITQT1_VERSION_MINOR ${POLKITQT-1_VERSION_MINOR}
34
34
 
35
 
/// @brief The PolkitQt-1 release version number at compile time
36
 
#define POLKITQT1_VERSION_RELEASE ${CMAKE_RELEASE_POLKITQT-1_VERSION}
 
35
/// @brief The PolkitQt-1 patch version number at compile time
 
36
#define POLKITQT1_VERSION_PATCH ${POLKITQT-1_VERSION_PATCH}
37
37
 
38
38
/**
39
39
 * \brief Create a unique number from the major, minor and release number of a %PolkitQt-1 version
51
51
 * use the version methods in the PolkitQt-1 namespace.
52
52
 */
53
53
#define POLKITQT1_VERSION \
54
 
    POLKITQT1_MAKE_VERSION(POLKITQT1_VERSION_MAJOR,POLKITQT1_VERSION_MINOR,POLKITQT1_VERSION_RELEASE)
 
54
    POLKITQT1_MAKE_VERSION(POLKITQT1_VERSION_MAJOR,POLKITQT1_VERSION_MINOR,POLKITQT1_VERSION_PATCH)
55
55
 
56
56
/**
57
57
 * \brief Check if the %PolkitQt-1 version matches a certain version or is higher
87
87
    POLKITQT1_EXPORT unsigned int versionMinor();
88
88
 
89
89
    /**
90
 
     * @brief Returns the release of PolkitQt-1's version, e.g.
 
90
     * @brief Returns the patch number of PolkitQt-1's version, e.g.
91
91
     * 2 for %PolkitQt-1 1.0.2.
92
92
     * @return the release number at runtime.
93
93
     */
94
 
    POLKITQT1_EXPORT unsigned int versionRelease();
 
94
    POLKITQT1_EXPORT unsigned int versionPatch();
95
95
 
96
96
    /**
97
97
     * @brief Returns the %PolkitQt-1 version as string, e.g. "1.0.2".