Public Member Functions | |
abstract long | getMonotonic () |
abstract long | getMajor () |
abstract long | getMinor () |
abstract long | getPatch () |
abstract long | getApi () |
abstract String | getString () |
Library version interface.
Describes the version of LibMuse.
|
abstract |
API
This number is incremented when changes are introduced to the API that are not backwards compatible.
|
abstract |
Major release.
This number is incremented on a major release of new functionality.
|
abstract |
Minor release.
This number is incremented when minor changes are made that are backwards compatible.
|
abstract |
Returns a monotonically increasing version number.
This number is guaranteed to increase from release to release. Currently it is equivalent to:
get_major() * 1000000 + get_minor() * 10000 + get_patch() * 100 + get_api()
So for major = 5, minor = 1, patch = 3, api = 2, it would be 5010302.
|
abstract |
Patch release.
This number is incremented when backwards-compatible bugfixes are made.
|
abstract |
String representation of the version.
This is a string like "x.y.z API Version j" where x is get_major(), y is get_minor(), z is get_patch() and j is get_api(). The format may change from release to release. In particular, don't make assumptions about it or try to parse it. Use the other API calls on this interface to get the numerical versions.