mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
cpp_headers: Rename ds2413 header .h -> .hpp
Renamed header file, updated header filename in interface files, sources, and CmakeLists file. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
e1bda1f44b
commit
bf9059c846
@ -25,7 +25,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "ds2413.h"
|
#include "ds2413.hpp"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace upm;
|
using namespace upm;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
set (libname "ds2413")
|
set (libname "ds2413")
|
||||||
set (libdescription "upm DS2413 1-wire Dual Channel Addressable Switch module")
|
set (libdescription "upm DS2413 1-wire Dual Channel Addressable Switch module")
|
||||||
set (module_src ${libname}.cxx)
|
set (module_src ${libname}.cxx)
|
||||||
set (module_h ${libname}.h)
|
set (module_hpp ${libname}.hpp)
|
||||||
upm_module_init()
|
upm_module_init()
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include "ds2413.h"
|
#include "ds2413.hpp"
|
||||||
|
|
||||||
using namespace upm;
|
using namespace upm;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
%include "std_string.i"
|
%include "std_string.i"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "ds2413.h"
|
#include "ds2413.hpp"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%include "ds2413.h"
|
%include "ds2413.hpp"
|
||||||
%array_class(char, charArray);
|
%array_class(char, charArray);
|
||||||
|
|
||||||
%pragma(java) jniclasscode=%{
|
%pragma(java) jniclasscode=%{
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
%include "std_string.i"
|
%include "std_string.i"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "ds2413.h"
|
#include "ds2413.hpp"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%include "ds2413.h"
|
%include "ds2413.hpp"
|
||||||
%array_class(char, charArray);
|
%array_class(char, charArray);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%feature("autodoc", "3");
|
%feature("autodoc", "3");
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "ds2413.h"
|
#include "ds2413.hpp"
|
||||||
%}
|
%}
|
||||||
%include "ds2413.h"
|
%include "ds2413.hpp"
|
||||||
%array_class(char, charArray);
|
%array_class(char, charArray);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user