/**
 ******************************************************************************
 * @file       version_info.cpp.template
 * @author     The LibrePilot Project, http://www.librepilot.org Copyright (C) 2015.
 *             The OpenPilot Team, http://www.openpilot.org Copyright (C) 2013.
 * @addtogroup VersionInfo
 * @{
 * @brief      The template file used to generate the real source file called
 *             build/gcs-synthetics/version_info.cpp
 *****************************************************************************/
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 * for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

VersionInfo::VersionInfo()
{
}

QString VersionInfo::origin()
{
    return "${ORIGIN}";
}

QString VersionInfo::revision()
{
    return "${REVISION}";
}

QString VersionInfo::hash()
{
    return "${HASH}";
}

QString VersionInfo::uavoHash()
{
    return "${UAVO_HASH}";
}

QString VersionInfo::uavoHashArray()
{
    return "{ ${UAVO_HASH_ARRAY} }";
}

QString VersionInfo::label()
{
    return "${LABEL}";
}

QString VersionInfo::tag()
{
    return "${TAG}";
}

QString VersionInfo::tagOrBranch()
{
    return "${TAG_OR_BRANCH}";
}

QString VersionInfo::tagOrHash8()
{
    return "${TAG_OR_HASH8}";
}

QString VersionInfo::hash8()
{
    return "${HASH8}";
}

QString VersionInfo::fwTag()
{
    return "${FWTAG}";
}

QString VersionInfo::unixTime()
{
    return "${UNIXTIME}";
}

QString VersionInfo::dateTime()
{
    return "${DATETIME}";
}

QString VersionInfo::date()
{
    return "${DATE}";
}

QString VersionInfo::day()
{
    return "${DAY}";
}

QString VersionInfo::month()
{
    return "${MONTH}";
}

QString VersionInfo::year()
{
    return "${YEAR}";
}

QString VersionInfo::hour()
{
    return "${HOUR}";
}

QString VersionInfo::minute()
{
    return "${MINUTE}";
}

QString VersionInfo::dirty()
{
    return "${DIRTY}";
}
