[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<<*',
])
my_module.add_exclude_file([
'debug.h',
'debug.hpp',
])
my_module.add_file_patterns([
'*.h',

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,10 +6,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <esignal/details/Signal.hxx>
#include <etk/types.h>
#include <etk/math/Vector2D.h>
#include <etk/math/Vector3D.h>
#include <etk/Color.h>
#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.hpp>
#include <etk/Color.hpp>
// void generic signal
ESIGNAL_DECLARE_SIGNAL();

View File

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

View File

@ -5,11 +5,11 @@
*
* @license APACHE v2.0 (see license file)
*/
#include <etk/etk.h>
#include <test-debug/debug.h>
#include <etk/etk.hpp>
#include <test-debug/debug.hpp>
//! [esignal_sample_declare]
#include <esignal/Signal.h>
#include <esignal/Signal.hpp>
//! [esignal_sample_declare]
void declareSignals() {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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