[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-09-30 22:28:36 +02:00
parent 05270f2a14
commit 10dd64890f
17 changed files with 48 additions and 48 deletions

View File

@ -24,7 +24,7 @@ def create(target, module_name):
'*operator<<*', '*operator<<*',
]) ])
my_module.add_exclude_file([ my_module.add_exclude_file([
'debug.h', 'debug.hpp',
]) ])
my_module.add_file_patterns([ my_module.add_file_patterns([
'*.h', '*.h',

View File

@ -9,7 +9,7 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <eproperty/InterfaceData.h> #include <eproperty/InterfaceData.hpp>
namespace eproperty { namespace eproperty {
/** /**

View File

@ -6,10 +6,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <eproperty/debug.h> #include <eproperty/debug.hpp>
#include <eproperty/List.h> #include <eproperty/List.hpp>
#include <eproperty/Property.h> #include <eproperty/Property.hpp>
#include <eproperty/InterfaceData.h> #include <eproperty/InterfaceData.hpp>
eproperty::InterfaceData::InterfaceData() { eproperty::InterfaceData::InterfaceData() {

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <eproperty/PropertyType.h> #include <eproperty/PropertyType.hpp>
#include <map> #include <map>
#include <typeinfo> #include <typeinfo>

View File

@ -6,9 +6,9 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <eproperty/debug.h> #include <eproperty/debug.hpp>
#include <eproperty/Interface.h> #include <eproperty/Interface.hpp>
#include <eproperty/Property.h> #include <eproperty/Property.hpp>
eproperty::Property::Property(eproperty::Interface* _paramInterfaceLink, const std::string& _name) : eproperty::Property::Property(eproperty::Interface* _paramInterfaceLink, const std::string& _name) :

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <eproperty/Interface.h> #include <eproperty/Interface.hpp>
#include <string> #include <string>
#include <typeinfo> #include <typeinfo>
#include <functional> #include <functional>

View File

@ -7,9 +7,9 @@
*/ */
#pragma once #pragma once
#include <eproperty/Interface.h> #include <eproperty/Interface.hpp>
#include <eproperty/Property.h> #include <eproperty/Property.hpp>
#include <eproperty/debug.h> #include <eproperty/debug.hpp>
namespace eproperty { namespace eproperty {
/** /**

View File

@ -7,8 +7,8 @@
*/ */
#pragma once #pragma once
#include <eproperty/Interface.h> #include <eproperty/Interface.hpp>
#include <eproperty/Value.h> #include <eproperty/Value.hpp>
#include <typeinfo> #include <typeinfo>
namespace eproperty { namespace eproperty {

View File

@ -7,11 +7,11 @@
*/ */
#pragma once #pragma once
#include <eproperty/PropertyType.h> #include <eproperty/PropertyType.hpp>
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector2D.h> #include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/Color.h> #include <etk/Color.hpp>
namespace eproperty { namespace eproperty {
/** /**

View File

@ -6,7 +6,7 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <eproperty/debug.h> #include <eproperty/debug.hpp>
int32_t eproperty::getLogId() { int32_t eproperty::getLogId() {
static int32_t g_val = elog::registerInstance("eproperty"); static int32_t g_val = elog::registerInstance("eproperty");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace eproperty { namespace eproperty {
int32_t getLogId(); int32_t getLogId();

View File

@ -6,10 +6,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <eproperty/details/Range.hxx> #include <eproperty/details/Range.hxx>
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector2D.h> #include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/Color.h> #include <etk/Color.hpp>
// void generic properties // void generic properties
template class eproperty::Range<int64_t>; template class eproperty::Range<int64_t>;

View File

@ -7,10 +7,10 @@
*/ */
#include <eproperty/details/Value.hxx> #include <eproperty/details/Value.hxx>
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector2D.h> #include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/Color.h> #include <etk/Color.hpp>
// void generic properties // void generic properties
template class eproperty::Value<bool>; template class eproperty::Value<bool>;

View File

@ -37,14 +37,14 @@ def create(target, module_name):
'eproperty/details/Value.cpp', 'eproperty/details/Value.cpp',
]) ])
my_module.add_header_file([ my_module.add_header_file([
'eproperty/debug.h', 'eproperty/debug.hpp',
'eproperty/Value.h', 'eproperty/Value.hpp',
'eproperty/Interface.h', 'eproperty/Interface.hpp',
'eproperty/InterfaceData.h', 'eproperty/InterfaceData.hpp',
'eproperty/Property.h', 'eproperty/Property.hpp',
'eproperty/PropertyType.h', 'eproperty/PropertyType.hpp',
'eproperty/Range.h', 'eproperty/Range.hpp',
'eproperty/List.h', 'eproperty/List.hpp',
'eproperty/details/Range.hxx', 'eproperty/details/Range.hxx',
'eproperty/details/Value.hxx', 'eproperty/details/Value.hxx',
]) ])

View File

@ -5,22 +5,22 @@
* *
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <etk/etk.h> #include <etk/etk.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
//! [eproperty_sample_all] //! [eproperty_sample_all]
//! [eproperty_sample_declare_interface] //! [eproperty_sample_declare_interface]
#include <eproperty/Interface.h> #include <eproperty/Interface.hpp>
//! [eproperty_sample_declare_interface] //! [eproperty_sample_declare_interface]
//! [eproperty_sample_declare_value] //! [eproperty_sample_declare_value]
#include <eproperty/Value.h> #include <eproperty/Value.hpp>
//! [eproperty_sample_declare_value] //! [eproperty_sample_declare_value]
//! [eproperty_sample_declare_list] //! [eproperty_sample_declare_list]
#include <eproperty/List.h> #include <eproperty/List.hpp>
//! [eproperty_sample_declare_list] //! [eproperty_sample_declare_list]
//! [eproperty_sample_declare_range] //! [eproperty_sample_declare_range]
#include <eproperty/Range.h> #include <eproperty/Range.hpp>
//! [eproperty_sample_declare_range] //! [eproperty_sample_declare_range]
//! [eproperty_sample_declare_an_enum] //! [eproperty_sample_declare_an_enum]

View File

@ -7,9 +7,9 @@
*/ */
#define NAME "Empty" #define NAME "Empty"
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/etk.h> #include <etk/etk.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
#include <gtest/gtest.h> #include <gtest/gtest.h>
int main(int _argc, const char *_argv[]) { int main(int _argc, const char *_argv[]) {