[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-10-02 15:58:09 +02:00
parent 45158a56d8
commit 4ba1f5df60
37 changed files with 83 additions and 83 deletions

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/tool.h>
#include <etk/Color.h>
#include <etk/debug.h>
#include <etk/stdTools.h>
#include <etk/types.hpp>
#include <etk/tool.hpp>
#include <etk/Color.hpp>
#include <etk/debug.hpp>
#include <etk/stdTools.hpp>
#include <string>
#include <sstream>
#include <stdexcept>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once

View File

@ -5,13 +5,13 @@
*/
#include <etk/types.h>
#include <etk/debug.h>
#include <etk/tool.h>
#include <etk/Noise.h>
#include <etk/types.hpp>
#include <etk/debug.hpp>
#include <etk/tool.hpp>
#include <etk/Noise.hpp>
// for the rand ...
#include <time.h>
#include <math.h>
#include <cmath>
#include <unistd.h>
#include <stdlib.h>

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <etk/math/Vector2D.h>
#include <etk/math/Vector2D.hpp>
namespace etk {
/**

View File

@ -5,9 +5,9 @@
*/
#ifdef ETK_BUILD_MINIZIP
#include <etk/archive/Archive.h>
#include <etk/archive/Zip.h>
#include <etk/debug.h>
#include <etk/archive/Archive.hpp>
#include <etk/archive/Zip.hpp>
#include <etk/debug.hpp>
static const etk::ArchiveContent g_error;

View File

@ -5,13 +5,13 @@
*/
#ifdef ETK_BUILD_MINIZIP
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <map>
#include <mutex>
#include <ememory/memory.h>
#include <ememory/memory.hpp>
namespace etk {
/**

View File

@ -6,9 +6,9 @@
#ifdef ETK_BUILD_MINIZIP
#include <etk/archive/Zip.h>
#include <etk/types.h>
#include <etk/debug.h>
#include <etk/archive/Zip.hpp>
#include <etk/types.hpp>
#include <etk/debug.hpp>
etk::archive::Zip::Zip(const std::string& _fileName, uint64_t _offset) :
etk::Archive(_fileName),

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <etk/archive/Archive.h>
#include <etk/archive/Archive.hpp>
#ifdef ETK_BUILD_MINIZIP
extern "C" {
#include <minizip/unzip.h>

View File

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

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <elog/log.h>
#include <elog/log.hpp>
namespace etk {
int32_t getLogId();

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/etk.h>
#include <elog/log.h>
#include <etk/types.h>
#include <etk/debug.h>
#include <elog/elog.h>
#include <etk/os/FSNode.h>
#include <etk/etk.hpp>
#include <elog/log.hpp>
#include <etk/types.hpp>
#include <etk/debug.hpp>
#include <elog/elog.hpp>
#include <etk/os/FSNode.hpp>
void etk::init(int _argc, const char** _argv) {
TK_INFO("E-TK system init (BEGIN) " << _argv[0]);

View File

@ -5,8 +5,8 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/math/Vector2D.h>
#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
#include <vector>
namespace etk {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/math/Matrix2.h>
#include <etk/math/Matrix2.hpp>
std::ostream& etk::operator <<(std::ostream& _os, const etk::Matrix2& _obj) {
_os << "{";

View File

@ -6,8 +6,8 @@
#pragma once
#include <etk/math/Vector2D.h>
#include <etk/types.h>
#include <etk/math/Vector2D.hpp>
#include <etk/types.hpp>
namespace etk {
/**
* @brief Transformation matrix for vector 2D.

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/math/Matrix4.h>
#include <etk/debug.h>
#include <math.h>
#include <etk/types.hpp>
#include <etk/math/Matrix4.hpp>
#include <etk/debug.hpp>
#include <cmath>
void etk::Matrix4::identity() {
for(int32_t iii=0; iii<4*4 ; iii++) {

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <etk/math/Vector3D.h>
#include <etk/math/Vector3D.hpp>
#include <math.h>

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <etk/debug.h>
#include <etk/debug.hpp>
#include <vector>
namespace etk {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/math/Vector2D.h>
#include <etk/stdTools.h>
#include <etk/debug.h>
#include <etk/math/Vector2D.hpp>
#include <etk/stdTools.hpp>
#include <etk/debug.hpp>
std::ostream& etk::operator <<(std::ostream& _os, const etk::Vector2D<int32_t>& _obj) {
_os << "(";

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/math/Vector3D.h>
#include <etk/types.h>
#include <etk/math/Vector3D.hpp>
#include <etk/types.hpp>
#pragma once

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/math/Vector3D.h>
#include <etk/stdTools.h>
#include <etk/debug.h>
#include <etk/math/Vector3D.hpp>
#include <etk/stdTools.hpp>
#include <etk/debug.hpp>
std::ostream& etk::operator <<(std::ostream& _os, const ivec3& _obj) {
_os << "(";

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <math.h>
#include <cmath>
#ifdef ETK_BUILD_LINEARMATH
#include <LinearMath/btScalar.h>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/math/Vector4D.h>
#include <etk/math/Vector4D.hpp>
std::ostream& etk::operator <<(std::ostream &_os, const etk::Vector4D<int32_t>& _obj) {
_os << "(";

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.hpp>
#include <math.h>
#ifdef ETK_BUILD_LINEARMATH

View File

@ -5,12 +5,12 @@
*/
#include <etk/types.h>
#include <etk/os/FSNode.h>
#include <etk/types.hpp>
#include <etk/os/FSNode.hpp>
#include <unistd.h>
#include <stdlib.h>
#include <etk/tool.h>
#include <etk/debug.h>
#include <etk/tool.hpp>
#include <etk/debug.hpp>
#include <map>
#include <mutex>
#ifdef __TARGET_OS__Windows
@ -26,7 +26,7 @@ extern "C" {
}
#ifdef HAVE_ZIP_DATA
# include <etk/archive/Archive.h>
# include <etk/archive/Archive.hpp>
#endif

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once
#include <etk/os/FSNodeRight.h>
#include <etk/os/FSNodeRight.hpp>
/**
* @brief Local maximum file name size
*/

View File

@ -5,7 +5,7 @@
*/
#include <etk/os/FSNodeRight.h>
#include <etk/os/FSNodeRight.hpp>
// Right Flags :
enum {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/stdTools.h>
#include <etk/debug.h>
#include <etk/stdTools.hpp>
#include <etk/debug.hpp>
const char32_t u32char::Null('\0');

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.hpp>
#include <vector>
#include <sstream>
#include <iostream>

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/tool.h>
#include <etk/os/FSNode.h>
#include <etk/tool.hpp>
#include <etk/os/FSNode.hpp>
// for the rand ...
#include <time.h>
#include <math.h>
#include <cmath>
#include <unistd.h>
#include <stdlib.h>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#pragma once

View File

@ -4,16 +4,16 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <test-debug/debug.h>
#include <etk/types.hpp>
#include <test-debug/debug.hpp>
#include <vector>
#include <string>
#include <etk/Hash.h>
#include <etk/os/FSNode.h>
#include <etk/archive/Archive.h>
#include <etk/etk.h>
#include <etk/Color.h>
#include <etk/stdTools.h>
#include <etk/Hash.hpp>
#include <etk/os/FSNode.hpp>
#include <etk/archive/Archive.hpp>
#include <etk/etk.hpp>
#include <etk/Color.hpp>
#include <etk/stdTools.hpp>
#include <string>
#define NAME "Empty"

View File

@ -7,7 +7,7 @@
*/
#include <gtest/gtest.h>
#include <ememory/memory.h>
#include <ememory/memory.hpp>
#undef NAME
#define NAME "Shared_ptr"