[DEV] correct the init sequency

This commit is contained in:
Edouard DUPIN 2017-04-26 23:42:21 +00:00
parent a58076f0f7
commit a4f861886d
2 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,7 @@ appl::GateWay::GateWay() :
propertyRouterNo(this, "no-router", false, "No connection on the router"),
propertyRouterIp(this, "router-ip", "127.0.0.1", "Ip to listen client", &appl::GateWay::onPropertyChangeClientIp),
propertyRouterPort(this, "router-port", 1984, "Port to listen client", &appl::GateWay::onPropertyChangeClientPort),
propertyServiceExtern(this, "service-extern", false, "enable extern service"),
propertyServiceIp(this, "service-ip", "127.0.0.1", "Ip to listen client", &appl::GateWay::onPropertyChangeServiceIp),
propertyServicePort(this, "service-port", 1985, "Port to listen client", &appl::GateWay::onPropertyChangeServicePort),
propertyServiceMax(this, "service-max", 80, "Maximum of client at the same time", &appl::GateWay::onPropertyChangeServiceMax) {

View File

@ -21,6 +21,7 @@
#include <appl/widget/VolumeBar.hpp>
#include <appl/widget/UpBar.hpp>
#include <zeus/zeus.hpp>
#include <etk/etk.hpp>
namespace appl {
class MainApplication : public ewol::context::Application {
@ -104,6 +105,7 @@ namespace appl {
* @return std IO
*/
int main(int _argc, const char *_argv[]) {
etk::init(_argc, _argv);
audio::river::init();
zeus::init(_argc, _argv);
return ewol::run(new appl::MainApplication(), _argc, _argv);