mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +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 "servo")
|
||||
set (libdescription "upm servo")
|
||||
set (module_src servo.cxx es08a.cxx es9257.cxx)
|
||||
set (module_h servo.h es08a.h es9257.h)
|
||||
set (module_hpp servo.hpp es08a.hpp es9257.hpp)
|
||||
upm_module_init()
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "es08a.h"
|
||||
#include "es08a.hpp"
|
||||
|
||||
using namespace upm;
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
|
||||
namespace upm {
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "es9257.h"
|
||||
#include "es9257.hpp"
|
||||
|
||||
using namespace upm;
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
|
||||
namespace upm {
|
||||
|
@ -1,19 +1,19 @@
|
||||
%module javaupm_servo
|
||||
%include "../upm.i"
|
||||
|
||||
%include "servo.h"
|
||||
%include "servo.hpp"
|
||||
%{
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
%}
|
||||
|
||||
%include "es08a.h"
|
||||
%include "es08a.hpp"
|
||||
%{
|
||||
#include "es08a.h"
|
||||
#include "es08a.hpp"
|
||||
%}
|
||||
|
||||
%include "es9257.h"
|
||||
%include "es9257.hpp"
|
||||
%{
|
||||
#include "es9257.h"
|
||||
#include "es9257.hpp"
|
||||
%}
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
|
@ -1,17 +1,17 @@
|
||||
%module jsupm_servo
|
||||
%include "../upm.i"
|
||||
|
||||
%include "servo.h"
|
||||
%include "servo.hpp"
|
||||
%{
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
%}
|
||||
|
||||
%include "es08a.h"
|
||||
%include "es08a.hpp"
|
||||
%{
|
||||
#include "es08a.h"
|
||||
#include "es08a.hpp"
|
||||
%}
|
||||
|
||||
%include "es9257.h"
|
||||
%include "es9257.hpp"
|
||||
%{
|
||||
#include "es9257.h"
|
||||
#include "es9257.hpp"
|
||||
%}
|
||||
|
@ -3,17 +3,17 @@
|
||||
%module pyupm_servo
|
||||
%include "../upm.i"
|
||||
|
||||
%include "servo.h"
|
||||
%include "servo.hpp"
|
||||
%{
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
%}
|
||||
|
||||
%include "es08a.h"
|
||||
%include "es08a.hpp"
|
||||
%{
|
||||
#include "es08a.h"
|
||||
#include "es08a.hpp"
|
||||
%}
|
||||
|
||||
%include "es9257.h"
|
||||
%include "es9257.hpp"
|
||||
%{
|
||||
#include "es9257.h"
|
||||
#include "es9257.hpp"
|
||||
%}
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "servo.h"
|
||||
#include "servo.hpp"
|
||||
|
||||
using namespace upm;
|
||||
|
||||
|
Reference in New Issue
Block a user