From 9827bedb8c14a63fb3ade4f75c64bda780742c84 Mon Sep 17 00:00:00 2001 From: Helmut Schmidt Date: Wed, 20 Aug 2014 18:16:42 +0200 Subject: GT-3012 changes as decided in 23-July-2014 conference call, step 2: rename gnss.h and sns.h --- gnss-service/api/gnss-init.h | 62 ++++++++++++++++++++++++++++++++++++++++++ gnss-service/api/gnss.h | 62 ------------------------------------------ sensors-service/api/sns-init.h | 58 +++++++++++++++++++++++++++++++++++++++ sensors-service/api/sns.h | 58 --------------------------------------- 4 files changed, 120 insertions(+), 120 deletions(-) create mode 100644 gnss-service/api/gnss-init.h delete mode 100644 gnss-service/api/gnss.h create mode 100644 sensors-service/api/sns-init.h delete mode 100644 sensors-service/api/sns.h diff --git a/gnss-service/api/gnss-init.h b/gnss-service/api/gnss-init.h new file mode 100644 index 0000000..d42d3f2 --- /dev/null +++ b/gnss-service/api/gnss-init.h @@ -0,0 +1,62 @@ +/************************************************************************** + * @licence app begin@ + * + * SPDX-License-Identifier: MPL-2.0 + * + * \ingroup GNSSService + * \brief Compliance Level: Abstract Component + * \copyright Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH + * + * \license + * This Source Code Form is subject to the terms of the + * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with + * this file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * @licence end@ + **************************************************************************/ + +#ifndef INCLUDE_GENIVI_GNSS +#define INCLUDE_GENIVI_GNSS + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +// API Version +#define GENIVI_GNSS_API_MAJOR 2 +#define GENIVI_GNSS_API_MINOR 0 +#define GENIVI_GNSS_API_MICRO 0 + +/** + * Initialization of the GNSS service. + * Must be called before using the GNSS service to set up the service. + * @return True if initialization has been successfull. + */ +bool gnssInit(); + +/** + * Destroy the GNSS service. + * Must be called after using the GNSS service to shut down the service. + * @return True if shutdown has been successfull. + */ +bool gnssDestroy(); + +/** + * GNSS services version information. + * This information is for the GNSS services system structure. + * The version information for each specific GNSS component can be obtained via the metadata. + * @param major Major version number. Changes in this number are used for incompatible API change. + * @param minor Minor version number. Changes in this number are used for compatible API change. + * @param micro Micro version number. Changes in this number are used for minor changes. + */ +void gnssGetVersion(int *major, int *minor, int *micro); + + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/gnss-service/api/gnss.h b/gnss-service/api/gnss.h deleted file mode 100644 index d42d3f2..0000000 --- a/gnss-service/api/gnss.h +++ /dev/null @@ -1,62 +0,0 @@ -/************************************************************************** - * @licence app begin@ - * - * SPDX-License-Identifier: MPL-2.0 - * - * \ingroup GNSSService - * \brief Compliance Level: Abstract Component - * \copyright Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH - * - * \license - * This Source Code Form is subject to the terms of the - * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with - * this file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * @licence end@ - **************************************************************************/ - -#ifndef INCLUDE_GENIVI_GNSS -#define INCLUDE_GENIVI_GNSS - -#include - -#ifdef __cplusplus -extern "C" { -#endif - - -// API Version -#define GENIVI_GNSS_API_MAJOR 2 -#define GENIVI_GNSS_API_MINOR 0 -#define GENIVI_GNSS_API_MICRO 0 - -/** - * Initialization of the GNSS service. - * Must be called before using the GNSS service to set up the service. - * @return True if initialization has been successfull. - */ -bool gnssInit(); - -/** - * Destroy the GNSS service. - * Must be called after using the GNSS service to shut down the service. - * @return True if shutdown has been successfull. - */ -bool gnssDestroy(); - -/** - * GNSS services version information. - * This information is for the GNSS services system structure. - * The version information for each specific GNSS component can be obtained via the metadata. - * @param major Major version number. Changes in this number are used for incompatible API change. - * @param minor Minor version number. Changes in this number are used for compatible API change. - * @param micro Micro version number. Changes in this number are used for minor changes. - */ -void gnssGetVersion(int *major, int *minor, int *micro); - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/sensors-service/api/sns-init.h b/sensors-service/api/sns-init.h new file mode 100644 index 0000000..026d6ed --- /dev/null +++ b/sensors-service/api/sns-init.h @@ -0,0 +1,58 @@ +/************************************************************************** + * Component Name: SensorsService + * Compliance Level: Abstract Component + * Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH + * License: + * This Source Code Form is subject to the terms of the + * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with + * this file, You can obtain one at http://mozilla.org/MPL/2.0/. + **************************************************************************/ + +#ifndef INCLUDE_GENIVI_SNS +#define INCLUDE_GENIVI_SNS + +// API Version +#define GENIVI_SNS_API_MAJOR 2 +#define GENIVI_SNS_API_MINOR 0 +#define GENIVI_SNS_API_MICRO 0 + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Initialization of the sensor service system infrastructure. + * Must be called before using any of the sensor services to set up general structures and connections + * to the sensors or signal providers. + * If not called before a sensor init the system behaviour is not defined. + * @return True if initialization has been successful. + */ +bool snsInit(); + +/** + * Destroy the sensor services. + * Must be called after using the sensor services for shut down. + * After this call no sensor will be able to receive sensor data. + * The individual sensors must be shut down before this call. Otherwise system behaviour is not defined. + * @return True if shutdown has been successful. + */ +bool snsDestroy(); + +/** + * Sensor services version information. + * This information is for the sensor services system structure. + * The version information for each sensor can be obtained via the metadata. + * @param major Major version number. Changes in this number are used for incompatible API change. + * @param minor Minor version number. Changes in this number are used for compatible API change. + * @param micro Micro version number. Changes in this number are used for minor changes. + */ +void snsGetVersion(int *major, int *minor, int *micro); + +#ifdef __cplusplus +} +#endif + +#endif /* INCLUDE_GENIVI_SNS */ diff --git a/sensors-service/api/sns.h b/sensors-service/api/sns.h deleted file mode 100644 index 026d6ed..0000000 --- a/sensors-service/api/sns.h +++ /dev/null @@ -1,58 +0,0 @@ -/************************************************************************** - * Component Name: SensorsService - * Compliance Level: Abstract Component - * Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH - * License: - * This Source Code Form is subject to the terms of the - * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with - * this file, You can obtain one at http://mozilla.org/MPL/2.0/. - **************************************************************************/ - -#ifndef INCLUDE_GENIVI_SNS -#define INCLUDE_GENIVI_SNS - -// API Version -#define GENIVI_SNS_API_MAJOR 2 -#define GENIVI_SNS_API_MINOR 0 -#define GENIVI_SNS_API_MICRO 0 - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * Initialization of the sensor service system infrastructure. - * Must be called before using any of the sensor services to set up general structures and connections - * to the sensors or signal providers. - * If not called before a sensor init the system behaviour is not defined. - * @return True if initialization has been successful. - */ -bool snsInit(); - -/** - * Destroy the sensor services. - * Must be called after using the sensor services for shut down. - * After this call no sensor will be able to receive sensor data. - * The individual sensors must be shut down before this call. Otherwise system behaviour is not defined. - * @return True if shutdown has been successful. - */ -bool snsDestroy(); - -/** - * Sensor services version information. - * This information is for the sensor services system structure. - * The version information for each sensor can be obtained via the metadata. - * @param major Major version number. Changes in this number are used for incompatible API change. - * @param minor Minor version number. Changes in this number are used for compatible API change. - * @param micro Micro version number. Changes in this number are used for minor changes. - */ -void snsGetVersion(int *major, int *minor, int *micro); - -#ifdef __cplusplus -} -#endif - -#endif /* INCLUDE_GENIVI_SNS */ -- cgit v1.2.1