[DEBUG] correct buid of sample

This commit is contained in:
Edouard DUPIN 2017-11-07 10:18:16 +01:00
parent b41fbb70ac
commit 4a80003857
7 changed files with 268 additions and 268 deletions

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,6 +54,7 @@ class MainApplication : public ewol::context::Application {
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...).
@ -62,7 +63,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,7 +54,7 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,7 +54,7 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,15 +54,14 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
* @return std IO
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -69,7 +69,7 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
@ -77,7 +77,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,7 +54,7 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}

View File

@ -17,7 +17,7 @@
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
public:
void onCreate(ewol::Context& _context) override {
@ -54,7 +54,7 @@ class MainApplication : public ewol::context::Application {
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...).
* @param std IO
@ -62,7 +62,7 @@ class MainApplication : public ewol::context::Application {
*/
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);
}