From 10dd64890fb325008f1c4e604d6e22a4f87cc792 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 30 Sep 2016 22:28:36 +0200 Subject: [PATCH] [DEV/API] change .h in .hpp --- doxy_eproperty.py | 2 +- eproperty/{Interface.h => Interface.hpp} | 2 +- eproperty/InterfaceData.cpp | 8 ++++---- eproperty/{InterfaceData.h => InterfaceData.hpp} | 0 eproperty/{List.h => List.hpp} | 2 +- eproperty/Property.cpp | 6 +++--- eproperty/{Property.h => Property.hpp} | 2 +- eproperty/{PropertyType.h => PropertyType.hpp} | 6 +++--- eproperty/{Range.h => Range.hpp} | 4 ++-- eproperty/{Value.h => Value.hpp} | 10 +++++----- eproperty/debug.cpp | 2 +- eproperty/{debug.h => debug.hpp} | 2 +- eproperty/details/Range.cpp | 8 ++++---- eproperty/details/Value.cpp | 8 ++++---- lutin_eproperty.py | 16 ++++++++-------- sample/sampleAll.cpp | 12 ++++++------ test/main.cpp | 6 +++--- 17 files changed, 48 insertions(+), 48 deletions(-) rename eproperty/{Interface.h => Interface.hpp} (92%) rename eproperty/{InterfaceData.h => InterfaceData.hpp} (100%) rename eproperty/{List.h => List.hpp} (99%) rename eproperty/{Property.h => Property.hpp} (99%) rename eproperty/{PropertyType.h => PropertyType.hpp} (98%) rename eproperty/{Range.h => Range.hpp} (97%) rename eproperty/{Value.h => Value.hpp} (91%) rename eproperty/{debug.h => debug.hpp} (98%) diff --git a/doxy_eproperty.py b/doxy_eproperty.py index 825d98c..059e746 100644 --- a/doxy_eproperty.py +++ b/doxy_eproperty.py @@ -24,7 +24,7 @@ def create(target, module_name): '*operator<<*', ]) my_module.add_exclude_file([ - 'debug.h', + 'debug.hpp', ]) my_module.add_file_patterns([ '*.h', diff --git a/eproperty/Interface.h b/eproperty/Interface.hpp similarity index 92% rename from eproperty/Interface.h rename to eproperty/Interface.hpp index 96838f4..40817c4 100644 --- a/eproperty/Interface.h +++ b/eproperty/Interface.hpp @@ -9,7 +9,7 @@ #include #include -#include +#include namespace eproperty { /** diff --git a/eproperty/InterfaceData.cpp b/eproperty/InterfaceData.cpp index 52faeb7..d36c769 100644 --- a/eproperty/InterfaceData.cpp +++ b/eproperty/InterfaceData.cpp @@ -6,10 +6,10 @@ * @license APACHE v2.0 (see license file) */ -#include -#include -#include -#include +#include +#include +#include +#include eproperty::InterfaceData::InterfaceData() { diff --git a/eproperty/InterfaceData.h b/eproperty/InterfaceData.hpp similarity index 100% rename from eproperty/InterfaceData.h rename to eproperty/InterfaceData.hpp diff --git a/eproperty/List.h b/eproperty/List.hpp similarity index 99% rename from eproperty/List.h rename to eproperty/List.hpp index 89ba386..8aafdd5 100644 --- a/eproperty/List.h +++ b/eproperty/List.hpp @@ -7,7 +7,7 @@ */ #pragma once -#include +#include #include #include diff --git a/eproperty/Property.cpp b/eproperty/Property.cpp index a65361f..19c2b05 100644 --- a/eproperty/Property.cpp +++ b/eproperty/Property.cpp @@ -6,9 +6,9 @@ * @license APACHE v2.0 (see license file) */ -#include -#include -#include +#include +#include +#include eproperty::Property::Property(eproperty::Interface* _paramInterfaceLink, const std::string& _name) : diff --git a/eproperty/Property.h b/eproperty/Property.hpp similarity index 99% rename from eproperty/Property.h rename to eproperty/Property.hpp index 7e0f068..544d9c1 100644 --- a/eproperty/Property.h +++ b/eproperty/Property.hpp @@ -7,7 +7,7 @@ */ #pragma once -#include +#include #include #include #include diff --git a/eproperty/PropertyType.h b/eproperty/PropertyType.hpp similarity index 98% rename from eproperty/PropertyType.h rename to eproperty/PropertyType.hpp index 7c56501..9cdf1d1 100644 --- a/eproperty/PropertyType.h +++ b/eproperty/PropertyType.hpp @@ -7,9 +7,9 @@ */ #pragma once -#include -#include -#include +#include +#include +#include namespace eproperty { /** diff --git a/eproperty/Range.h b/eproperty/Range.hpp similarity index 97% rename from eproperty/Range.h rename to eproperty/Range.hpp index 44aaf84..2cdee98 100644 --- a/eproperty/Range.h +++ b/eproperty/Range.hpp @@ -7,8 +7,8 @@ */ #pragma once -#include -#include +#include +#include #include namespace eproperty { diff --git a/eproperty/Value.h b/eproperty/Value.hpp similarity index 91% rename from eproperty/Value.h rename to eproperty/Value.hpp index dc4d731..5d893b0 100644 --- a/eproperty/Value.h +++ b/eproperty/Value.hpp @@ -7,11 +7,11 @@ */ #pragma once -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include namespace eproperty { /** diff --git a/eproperty/debug.cpp b/eproperty/debug.cpp index 3b2257d..f3abaec 100644 --- a/eproperty/debug.cpp +++ b/eproperty/debug.cpp @@ -6,7 +6,7 @@ * @license APACHE v2.0 (see license file) */ -#include +#include int32_t eproperty::getLogId() { static int32_t g_val = elog::registerInstance("eproperty"); diff --git a/eproperty/debug.h b/eproperty/debug.hpp similarity index 98% rename from eproperty/debug.h rename to eproperty/debug.hpp index 3baddb4..e792d1b 100644 --- a/eproperty/debug.h +++ b/eproperty/debug.hpp @@ -7,7 +7,7 @@ */ #pragma once -#include +#include namespace eproperty { int32_t getLogId(); diff --git a/eproperty/details/Range.cpp b/eproperty/details/Range.cpp index a02de7c..03242a6 100644 --- a/eproperty/details/Range.cpp +++ b/eproperty/details/Range.cpp @@ -6,10 +6,10 @@ * @license APACHE v2.0 (see license file) */ #include -#include -#include -#include -#include +#include +#include +#include +#include // void generic properties template class eproperty::Range; diff --git a/eproperty/details/Value.cpp b/eproperty/details/Value.cpp index d1e1ef4..a73b8b4 100644 --- a/eproperty/details/Value.cpp +++ b/eproperty/details/Value.cpp @@ -7,10 +7,10 @@ */ #include -#include -#include -#include -#include +#include +#include +#include +#include // void generic properties template class eproperty::Value; diff --git a/lutin_eproperty.py b/lutin_eproperty.py index 920ae9c..28a467c 100644 --- a/lutin_eproperty.py +++ b/lutin_eproperty.py @@ -37,14 +37,14 @@ def create(target, module_name): 'eproperty/details/Value.cpp', ]) my_module.add_header_file([ - 'eproperty/debug.h', - 'eproperty/Value.h', - 'eproperty/Interface.h', - 'eproperty/InterfaceData.h', - 'eproperty/Property.h', - 'eproperty/PropertyType.h', - 'eproperty/Range.h', - 'eproperty/List.h', + 'eproperty/debug.hpp', + 'eproperty/Value.hpp', + 'eproperty/Interface.hpp', + 'eproperty/InterfaceData.hpp', + 'eproperty/Property.hpp', + 'eproperty/PropertyType.hpp', + 'eproperty/Range.hpp', + 'eproperty/List.hpp', 'eproperty/details/Range.hxx', 'eproperty/details/Value.hxx', ]) diff --git a/sample/sampleAll.cpp b/sample/sampleAll.cpp index 187584a..ff62a90 100644 --- a/sample/sampleAll.cpp +++ b/sample/sampleAll.cpp @@ -5,22 +5,22 @@ * * @license APACHE v2.0 (see license file) */ -#include -#include +#include +#include //! [eproperty_sample_all] //! [eproperty_sample_declare_interface] -#include +#include //! [eproperty_sample_declare_interface] //! [eproperty_sample_declare_value] -#include +#include //! [eproperty_sample_declare_value] //! [eproperty_sample_declare_list] -#include +#include //! [eproperty_sample_declare_list] //! [eproperty_sample_declare_range] -#include +#include //! [eproperty_sample_declare_range] //! [eproperty_sample_declare_an_enum] diff --git a/test/main.cpp b/test/main.cpp index bf693c8..ef79c4f 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -7,9 +7,9 @@ */ #define NAME "Empty" -#include -#include -#include +#include +#include +#include #include int main(int _argc, const char *_argv[]) {