File: version.c.in

package info (click to toggle)
qt-color-widgets 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 916 kB
  • sloc: cpp: 6,923; sh: 236; makefile: 13
file content (34 lines) | stat: -rw-r--r-- 749 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "${i_versioned_entity}_version.h"


unsigned int @i_versioned_entity@_versionMajor () {
	return ${${i_versioned_entity}_VERSION_MAJOR};
}


unsigned int @i_versioned_entity@_versionMinor () {
	return ${${i_versioned_entity}_VERSION_MINOR};
}


unsigned int @i_versioned_entity@_versionPatch () {
	return ${${i_versioned_entity}_VERSION_PATCH};
}


const char* @i_versioned_entity@_versionGitInfo () {
	return
		"${gitDescribe}"
		"${gitUntracked}";
}


const char*	@i_versioned_entity@_versionFullString () {
	return
		"${${i_versioned_entity}_VERSION_MAJOR}."
		"${${i_versioned_entity}_VERSION_MINOR}."
		"${${i_versioned_entity}_VERSION_PATCH}"
		"${${i_versioned_entity}_VERSION_PRE_RELEASE}"
		"+${gitDescribe}"
		"${gitUntracked}";
}