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:
Noel Eck
2016-04-25 14:27:51 -07:00
parent b3a8fd7172
commit 922e0cc26b
1177 changed files with 1697 additions and 1699 deletions

View File

@ -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()

View File

@ -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"

View File

@ -2,7 +2,7 @@
****************************************************************************
* Copyright (C) 2015 Bosch Sensortec GmbH
*
* bmi160.c
* bosch_bmi160.c
* Date: 2014/10/27
* Revision: 2.0.6 $
*

View File

@ -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__

View File

@ -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 {

View File

@ -4,7 +4,7 @@
%pointer_functions(float, floatp);
%include "bmi160.h"
%include "bmi160.hpp"
%{
#include "bmi160.h"
#include "bmi160.hpp"
%}

View File

@ -3,7 +3,7 @@
****************************************************************************
* Copyright (C) 2014 Bosch Sensortec GmbH
*
* File : bmi160.h
* File : bmi160.hpp
*
* Date : 2014/10/27
*

View File

@ -10,7 +10,7 @@
%pointer_functions(float, floatp);
%include "bmi160.h"
%include "bmi160.hpp"
%{
#include "bmi160.h"
#include "bmi160.hpp"
%}