[DEBUG] correct buid of sample
This commit is contained in:
parent
b41fbb70ac
commit
4a80003857
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,7 +53,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
@ -62,7 +63,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,8 +53,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,8 +53,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,16 +53,15 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
* @return std IO
|
* @return std IO
|
||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -68,8 +68,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
@ -77,7 +77,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,8 +53,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <ewol/widget/Manager.hpp>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
void onCreate(ewol::Context& _context) override {
|
void onCreate(ewol::Context& _context) override {
|
||||||
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
APPL_INFO(" == > CREATE ... " << PROJECT_NAME << " v" << APPL_VERSION << " (START) [" << gale::getBoardType() << "] (" << gale::getCompilationMode() << ") (BEGIN)");
|
||||||
@ -53,8 +53,8 @@ class MainApplication : public ewol::context::Application {
|
|||||||
// nothing to do ...
|
// nothing to do ...
|
||||||
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
APPL_INFO("==> STOP ... " PROJECT_NAME " (END)");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
* @brief Main of the program (This can be set in every case, but it is not used in Andoid...).
|
||||||
* @param std IO
|
* @param std IO
|
||||||
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
|
|||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
// second possibility
|
// second possibility
|
||||||
return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv);
|
return ewol::run(ETK_NEW(appl::MainApplication), _argc, _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user