From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/misc/gpsip/cgdriver/CgVersion.h | 72 +++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 drivers/misc/gpsip/cgdriver/CgVersion.h (limited to 'drivers/misc/gpsip/cgdriver/CgVersion.h') diff --git a/drivers/misc/gpsip/cgdriver/CgVersion.h b/drivers/misc/gpsip/cgdriver/CgVersion.h new file mode 100644 index 00000000..fba143d7 --- /dev/null +++ b/drivers/misc/gpsip/cgdriver/CgVersion.h @@ -0,0 +1,72 @@ +/****************************************************************************** + * LEGAL NOTICE * + * * + * USE OF THIS SOFTWARE (including any copy or compiled version thereof) AND * + * DOCUMENTATION IS SUBJECT TO THE SOFTWARE LICENSE AND RESTRICTIONS AND THE * + * WARRANTY DISLCAIMER SET FORTH IN LEGAL_NOTICE.TXT FILE. IF YOU DO NOT * + * FULLY ACCEPT THE TERMS, YOU MAY NOT INSTALL OR OTHERWISE USE THE SOFTWARE * + * OR DOCUMENTATION. * + * NOTWITHSTANDING ANYTHING TO THE CONTRARY IN THIS NOTICE, INSTALLING OR * + * OTHERISE USING THE SOFTWARE OR DOCUMENTATION INDICATES YOUR ACCEPTANCE OF * + * THE LICENSE TERMS AS STATED. * + * * + ******************************************************************************/ +/* Version: 1.8.9\3686 */ +/* Build : 13 */ +/* Date : 12/08/2012 */ +/** + \file CgVersion.h + \brief + \attention This file should not be modified. + If you think something is wrong here, please contact CellGuide + + Defines +*/ +#ifndef CG_VERSION_H +#define CG_VERSION_H + +#ifdef __cplusplus +extern "C" { +#endif /*__cplusplus*/ + +#include "CgTypes.h" /**< CellGuide Types */ + +#ifdef CGTEST + #define CG_BUILD_MODE "TEST" +#elif defined(DEBUG) || defined (_DEBUG) + #define CG_BUILD_MODE "DEBUG" +#else + #define CG_BUILD_MODE "RELEASE" +#endif + + +/** + * VERSION type to pass VERSION types of information using one union +*/ +typedef struct SCgVersion{ + const char *buildVersion; + const char *buildOriginator; + const char *buildName; + const char *buildNumber; + const char *buildDate; + const char *buildTime; + const char *buildMode; +} TCgVersion; + + + +const char *CgVersionBuildNumber(const TCgVersion *apVersion); +const char *CgVersionBuildDate(const TCgVersion *apVersion); +const char *CgVersionBuildTime(const TCgVersion *apVersion); + + + + +/*@}*/ + +#ifdef __cplusplus +} +#endif /*__cplusplus*/ + + +#endif -- cgit v1.3.1