[DEV/API] change .h in .hpp
This commit is contained in:
parent
1ab071e3ce
commit
50e270b5a1
@ -4,14 +4,14 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <dollar/EngineN.h>
|
||||
#include <dollar/EngineP.h>
|
||||
#include <dollar/EnginePPlus.h>
|
||||
#include <dollar/Engine.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <dollar/EngineN.hpp>
|
||||
#include <dollar/EngineP.hpp>
|
||||
#include <dollar/EnginePPlus.hpp>
|
||||
|
||||
|
||||
dollar::Engine::Engine():
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Results.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <dollar/Results.h>
|
||||
#include <string>
|
||||
#include <dollar/Gesture.h>
|
||||
#include <ememory/memory.h>
|
||||
|
||||
/**
|
||||
* @brief dollar library main namespace
|
@ -4,13 +4,15 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/EngineN.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <dollar/EngineN.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
#define MAX_FLOAT std::numeric_limits<float>::max()
|
||||
// simple decree to radian convertion
|
||||
#define DEG_2_RAD(ddd) (ddd*M_PI/180.0)
|
||||
|
@ -6,14 +6,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Results.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
#include <dollar/Engine.hpp>
|
||||
#include <dollar/GestureN.hpp>
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <dollar/Results.h>
|
||||
#include <string>
|
||||
#include <dollar/Gesture.h>
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/GestureN.h>
|
||||
|
||||
namespace dollar {
|
||||
class EngineN : public dollar::Engine {
|
@ -4,11 +4,11 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/EngineP.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <dollar/EngineP.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
#define MAX_FLOAT std::numeric_limits<float>::max()
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Results.hpp>
|
||||
#include <dollar/Engine.hpp>
|
||||
#include <dollar/GestureP.hpp>
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <dollar/Results.h>
|
||||
#include <string>
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/GestureP.h>
|
||||
|
||||
namespace dollar {
|
||||
class EngineP : public dollar::Engine {
|
@ -4,17 +4,17 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/EnginePPlus.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <dollar/EnginePPlus.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
#define MAX_FLOAT std::numeric_limits<float>::max()
|
||||
|
||||
|
||||
|
||||
dollar::EnginePPlus::EnginePPlus():
|
||||
m_PPlusDistance(0.10f),
|
||||
m_PPlusExcludeDistance(0.2*0.2),
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Results.hpp>
|
||||
#include <dollar/Engine.hpp>
|
||||
#include <dollar/GesturePPlus.hpp>
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <dollar/Results.h>
|
||||
#include <string>
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/GesturePPlus.h>
|
||||
|
||||
namespace dollar {
|
||||
class EnginePPlus : public dollar::Engine {
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Gesture.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <esvg/esvg.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <esvg/esvg.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
|
||||
static std::vector<std::vector<vec2>> loadPointsJson(const ejson::Document& _doc) {
|
||||
|
@ -3,11 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <ememory/memory.h>
|
||||
|
||||
namespace dollar {
|
||||
class Gesture {
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/GestureN.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <esvg/esvg.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/GestureN.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <esvg/esvg.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
|
||||
|
||||
|
@ -3,12 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <etk/math/Vector2D.h>
|
||||
|
||||
#include <dollar/Gesture.h>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace dollar {
|
||||
class GestureN : public dollar::Gesture {
|
@ -3,11 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <dollar/Gesture.h>
|
||||
|
||||
namespace dollar {
|
||||
class GestureP : public dollar::Gesture {
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/GesturePPlus.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <esvg/esvg.h>
|
||||
#include <etk/stdTools.h>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/GesturePPlus.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <esvg/esvg.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
dollar::GesturePPlus::GesturePPlus() {
|
||||
|
||||
|
@ -3,11 +3,12 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Gesture.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <dollar/Gesture.h>
|
||||
|
||||
namespace dollar {
|
||||
class GesturePPlus : public dollar::Gesture {
|
@ -3,8 +3,8 @@
|
||||
* @copyright 2016, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
|
||||
#define MAX_FLOAT std::numeric_limits<float>::max()
|
||||
|
||||
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <math.h>
|
||||
#include <string>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <etk/math/Vector2D.h>
|
||||
|
||||
namespace dollar {
|
||||
/**
|
@ -4,8 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/Results.h>
|
||||
#include <dollar/debug.hpp>
|
||||
#include <dollar/Results.hpp>
|
||||
|
||||
|
||||
dollar::Results::Results() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/debug.hpp>
|
||||
|
||||
int32_t dollar::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("dollar");
|
||||
|
@ -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 dollar {
|
||||
int32_t getLogId();
|
@ -4,8 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <dollar/tools.h>
|
||||
#include <dollar/debug.h>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <dollar/debug.hpp>
|
||||
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <etk/types.h>
|
||||
#include <etk/math/Vector2D.h>
|
||||
#include <dollar/Rectangle.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/math/Vector2D.hpp>
|
||||
#include <dollar/Rectangle.hpp>
|
||||
|
||||
namespace dollar {
|
||||
/**
|
@ -44,7 +44,7 @@ def create(target, module_name):
|
||||
])
|
||||
|
||||
my_module.add_header_file([
|
||||
'dollar/*.h',
|
||||
'dollar/*.hpp',
|
||||
],
|
||||
destination_path="dollar")
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/Engine.hpp>
|
||||
|
||||
#include <etk/etk.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <etk/etk.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
int main(int _argc, const char *_argv[]) {
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <dollar/EnginePPlus.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <dollar/EnginePPlus.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
|
||||
#include <etk/etk.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <etk/etk.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#include <map>
|
||||
|
||||
void usage(const std::string& _progName) {
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/Engine.hpp>
|
||||
|
||||
#include <etk/etk.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <etk/etk.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
|
||||
void usage(const std::string& _progName) {
|
||||
TEST_PRINT("usage:");
|
||||
|
@ -4,13 +4,13 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <dollar/EnginePPlus.h>
|
||||
#include <dollar/tools.h>
|
||||
#include <dollar/EnginePPlus.hpp>
|
||||
#include <dollar/tools.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include <etk/etk.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
||||
void usage(const std::string& _progName) {
|
||||
|
@ -5,16 +5,16 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ewol/ewol.h>
|
||||
#include <gale/context/commandLine.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ewol/ewol.hpp>
|
||||
#include <gale/context/commandLine.hpp>
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/Windows.h>
|
||||
#include <ewol/object/Object.h>
|
||||
#include <ewol/widget/Manager.h>
|
||||
#include <ewol/context/Context.h>
|
||||
#include <appl/widget/TextAreaRecognition.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/Windows.hpp>
|
||||
#include <ewol/object/Object.hpp>
|
||||
#include <ewol/widget/Manager.hpp>
|
||||
#include <ewol/context/Context.hpp>
|
||||
#include <appl/widget/TextAreaRecognition.hpp>
|
||||
|
||||
|
||||
class MainApplication : public ewol::context::Application {
|
||||
|
@ -4,14 +4,14 @@
|
||||
* @license PROPRIETARY (see license file)
|
||||
*/
|
||||
|
||||
#include <ewol/ewol.h>
|
||||
#include <appl/debug.h>
|
||||
#include <appl/Windows.h>
|
||||
#include <ewol/widget/Label.h>
|
||||
#include <ewol/widget/Button.h>
|
||||
#include <ewol/widget/Entry.h>
|
||||
#include <appl/widget/TextAreaRecognition.h>
|
||||
#include <etk/tool.h>
|
||||
#include <ewol/ewol.hpp>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/Windows.hpp>
|
||||
#include <ewol/widget/Label.hpp>
|
||||
#include <ewol/widget/Button.hpp>
|
||||
#include <ewol/widget/Entry.hpp>
|
||||
#include <appl/widget/TextAreaRecognition.hpp>
|
||||
#include <etk/tool.hpp>
|
||||
|
||||
appl::Windows::Windows() :
|
||||
m_composer(nullptr),
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ewol/widget/Windows.h>
|
||||
#include <ewol/widget/Composer.h>
|
||||
#include <ewol/widget/Windows.hpp>
|
||||
#include <ewol/widget/Composer.hpp>
|
||||
|
||||
namespace appl {
|
||||
class Windows;
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/debug.hpp>
|
||||
|
||||
int32_t appl::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("LGDT-tool-rec");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
@ -4,14 +4,13 @@
|
||||
* @license PROPRIETARY (see license file)
|
||||
*/
|
||||
|
||||
#include <appl/debug.h>
|
||||
#include <appl/widget/TextAreaRecognition.h>
|
||||
#include <ewol/object/Manager.h>
|
||||
#include <etk/tool.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <esvg/esvg.h>
|
||||
//#include <algue/sha512.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <appl/debug.hpp>
|
||||
#include <appl/widget/TextAreaRecognition.hpp>
|
||||
#include <ewol/object/Manager.hpp>
|
||||
#include <etk/tool.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <esvg/esvg.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
appl::widget::TextAreaRecognition::TextAreaRecognition() {
|
||||
addObjectType("appl::widget::TextAreaRecognition");
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ewol/widget/Widget.h>
|
||||
#include <ewol/compositing/Drawing.h>
|
||||
#include <ewol/compositing/Text.h>
|
||||
#include <ewol/widget/Manager.h>
|
||||
#include <ewol/widget/Widget.hpp>
|
||||
#include <ewol/compositing/Drawing.hpp>
|
||||
#include <ewol/compositing/Text.hpp>
|
||||
#include <ewol/widget/Manager.hpp>
|
||||
|
||||
#include <dollar/Engine.h>
|
||||
#include <dollar/Engine.hpp>
|
||||
|
||||
namespace appl {
|
||||
class DrawingLine {
|
Loading…
x
Reference in New Issue
Block a user