2 ******************************************************************************
3 * @file version_info.cpp.template
4 * @author The LibrePilot Project, http://www.librepilot.org Copyright (C) 2015.
5 * The OpenPilot Team, http://www.openpilot.org Copyright (C) 2013.
6 * @addtogroup VersionInfo
8 * @brief The template file used to generate the real source file called
9 * build/gcs-synthetics/version_info.cpp
10 *****************************************************************************/
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 VersionInfo::VersionInfo()
31 QString VersionInfo::origin()
36 QString VersionInfo::revision()
41 QString VersionInfo::hash()
46 QString VersionInfo::uavoHash()
48 return "${UAVO_HASH}";
51 QString VersionInfo::uavoHashArray()
53 return "{ ${UAVO_HASH_ARRAY} }";
56 QString VersionInfo::label()
61 QString VersionInfo::tag()
66 QString VersionInfo::tagOrBranch()
68 return "${TAG_OR_BRANCH}";
71 QString VersionInfo::tagOrHash8()
73 return "${TAG_OR_HASH8}";
76 QString VersionInfo::hash8()
81 QString VersionInfo::fwTag()
86 QString VersionInfo::unixTime()
91 QString VersionInfo::dateTime()
96 QString VersionInfo::date()
101 QString VersionInfo::day()
106 QString VersionInfo::month()
111 QString VersionInfo::year()
116 QString VersionInfo::hour()
121 QString VersionInfo::minute()
126 QString VersionInfo::dirty()