[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-09-30 22:28:36 +02:00
parent b64a3bfcb0
commit e103df58cd
22 changed files with 66 additions and 66 deletions

View File

@ -25,7 +25,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

@ -6,10 +6,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <esignal/Base.h> #include <esignal/Base.hpp>
size_t esignal::BaseInternal::s_uid = 1; size_t esignal::BaseInternal::s_uid = 1;
int64_t esignal::BaseInternal::s_uidSignalEmit = 1; int64_t esignal::BaseInternal::s_uidSignalEmit = 1;

View File

@ -8,9 +8,9 @@
#pragma once #pragma once
#include <functional> #include <functional>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/Base.h> #include <esignal/Base.hpp>
#include <functional> #include <functional>
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>

View File

@ -5,8 +5,8 @@
* *
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/Connection.h> #include <esignal/Connection.hpp>
esignal::Connection::Connection(): esignal::Connection::Connection():
m_data(nullptr), m_data(nullptr),

View File

@ -8,9 +8,9 @@
#pragma once #pragma once
#include <functional> #include <functional>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/Base.h> #include <esignal/Base.hpp>
namespace esignal { namespace esignal {
/** /**

View File

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

View File

@ -6,10 +6,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/InterfaceData.h> #include <esignal/InterfaceData.hpp>
#include <esignal/Base.h> #include <esignal/Base.hpp>
esignal::InterfaceData::InterfaceData() { esignal::InterfaceData::InterfaceData() {

View File

@ -9,12 +9,12 @@
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <esignal/debug.h> #include <esignal/debug.hpp>
#include <esignal/Base.h> #include <esignal/Base.hpp>
#include <esignal/Connection.h> #include <esignal/Connection.hpp>
#include <utility> #include <utility>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
namespace esignal { namespace esignal {

View File

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

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace esignal { namespace esignal {
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 <esignal/details/Signal.hxx> #include <esignal/details/Signal.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 signal // void generic signal
ESIGNAL_DECLARE_SIGNAL(); ESIGNAL_DECLARE_SIGNAL();

View File

@ -38,12 +38,12 @@ def create(target, module_name):
'esignal/details/Signal.cpp', 'esignal/details/Signal.cpp',
]) ])
my_module.add_header_file([ my_module.add_header_file([
'esignal/debug.h', 'esignal/debug.hpp',
'esignal/Interface.h', 'esignal/Interface.hpp',
'esignal/InterfaceData.h', 'esignal/InterfaceData.hpp',
'esignal/Base.h', 'esignal/Base.hpp',
'esignal/Signal.h', 'esignal/Signal.hpp',
'esignal/Connection.h', 'esignal/Connection.hpp',
'esignal/details/Signal.hxx', 'esignal/details/Signal.hxx',
]) ])
my_module.compile_version("c++", 2011) my_module.compile_version("c++", 2011)

View File

@ -5,11 +5,11 @@
* *
* @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>
//! [esignal_sample_declare] //! [esignal_sample_declare]
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
//! [esignal_sample_declare] //! [esignal_sample_declare]
void declareSignals() { void declareSignals() {

View File

@ -6,7 +6,7 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <esignal/details/Signal.hxx> #include <esignal/details/Signal.hxx>
#include <etk/types.h> #include <etk/types.hpp>
ESIGNAL_DECLARE_SIGNAL(int32_t, std::string); ESIGNAL_DECLARE_SIGNAL(int32_t, std::string);

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[]) {

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
class testISignal : public esignal::Interface { class testISignal : public esignal::Interface {

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
class testCallback { class testCallback {
public: public:

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
class testCounter { class testCounter {
public: public:

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
static esignal::Signal<int32_t>* signalll; static esignal::Signal<int32_t>* signalll;
static int32_t tmpRetInt32 = 0; static int32_t tmpRetInt32 = 0;

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
class testCallbackShared : public ememory::EnableSharedFromThis<testCallbackShared> { class testCallbackShared : public ememory::EnableSharedFromThis<testCallbackShared> {
public: public:

View File

@ -8,10 +8,10 @@
#define NAME "SingleArg" #define NAME "SingleArg"
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <esignal/Interface.h> #include <esignal/Interface.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
#include <test-debug/debug.h> #include <test-debug/debug.hpp>
static int32_t tmpRetInt32 = 0; static int32_t tmpRetInt32 = 0;
static std::string tmpRetString = ""; static std::string tmpRetString = "";