mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
cpp_headers: Renamed C++ headers from .h -> .hpp
To make room for UPM C and C++ sensor code to coexist, all UPM C++ headers have been renamed from h -> hpp. This commit contains updates to documentation, includes, cmake collateral, examples, and swig interface files. * Renamed all cxx/cpp header files which contain the string 'copyright intel' from .h -> .hpp (if not already hpp). * Replaced all references to .h with .hpp in documentation, source files, cmake collateral, example code, and swig interface files. * Replaced cmake variable module_h with module_hpp. * Intentionally left upm.h since this file currently does not contain code (documentation only). Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
set (libname "bmi160")
|
||||
set (libdescription "Bosch BMI160 Accelerometer, Gyroscope and BMM150 Magnetometer")
|
||||
set (module_src ${libname}.cxx bosch_bmi160.c)
|
||||
set (module_h ${libname}.h)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
upm_module_init()
|
||||
|
@ -30,7 +30,7 @@
|
||||
// we have to do it the old skool way
|
||||
#include <mraa/i2c.h>
|
||||
|
||||
#include "bmi160.h"
|
||||
#include "bmi160.hpp"
|
||||
|
||||
extern "C" {
|
||||
#include "bosch_bmi160.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
****************************************************************************
|
||||
* Copyright (C) 2015 Bosch Sensortec GmbH
|
||||
*
|
||||
* bmi160.c
|
||||
* bosch_bmi160.c
|
||||
* Date: 2014/10/27
|
||||
* Revision: 2.0.6 $
|
||||
*
|
||||
|
@ -3,7 +3,7 @@
|
||||
****************************************************************************
|
||||
* Copyright (C) 2014 Bosch Sensortec GmbH
|
||||
*
|
||||
* File : bmi160.h
|
||||
* File : bosch_bmi160.h
|
||||
*
|
||||
* Date : 2014/10/27
|
||||
*
|
||||
@ -54,7 +54,7 @@
|
||||
* patent rights of the copyright holder.
|
||||
**************************************************************************/
|
||||
|
||||
/*! \file bmi160.h
|
||||
/*! \file bmi160.hpp
|
||||
\brief BMI160 Sensor Driver Support Header File */
|
||||
/* user defined code to be added here ... */
|
||||
#ifndef __BMI160_H__
|
||||
|
@ -5,7 +5,7 @@
|
||||
%include "../java_buffer.i"
|
||||
|
||||
%{
|
||||
#include "bmi160.h"
|
||||
#include "bmi160.hpp"
|
||||
%}
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
%ignore getGyroscope(float *, float *, float *);
|
||||
%ignore getMagnetometer(float *, float *, float *);
|
||||
|
||||
%include "bmi160.h"
|
||||
%include "bmi160.hpp"
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%include "bmi160.h"
|
||||
%include "bmi160.hpp"
|
||||
%{
|
||||
#include "bmi160.h"
|
||||
#include "bmi160.hpp"
|
||||
%}
|
||||
|
@ -3,7 +3,7 @@
|
||||
****************************************************************************
|
||||
* Copyright (C) 2014 Bosch Sensortec GmbH
|
||||
*
|
||||
* File : bmi160.h
|
||||
* File : bmi160.hpp
|
||||
*
|
||||
* Date : 2014/10/27
|
||||
*
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%include "bmi160.h"
|
||||
%include "bmi160.hpp"
|
||||
%{
|
||||
#include "bmi160.h"
|
||||
#include "bmi160.hpp"
|
||||
%}
|
||||
|
Reference in New Issue
Block a user