[DEV] correct the init sequency
This commit is contained in:
parent
a58076f0f7
commit
a4f861886d
@ -80,6 +80,7 @@ appl::GateWay::GateWay() :
|
|||||||
propertyRouterNo(this, "no-router", false, "No connection on the router"),
|
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),
|
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),
|
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),
|
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),
|
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) {
|
propertyServiceMax(this, "service-max", 80, "Maximum of client at the same time", &appl::GateWay::onPropertyChangeServiceMax) {
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <appl/widget/VolumeBar.hpp>
|
#include <appl/widget/VolumeBar.hpp>
|
||||||
#include <appl/widget/UpBar.hpp>
|
#include <appl/widget/UpBar.hpp>
|
||||||
#include <zeus/zeus.hpp>
|
#include <zeus/zeus.hpp>
|
||||||
|
#include <etk/etk.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
@ -104,6 +105,7 @@ namespace appl {
|
|||||||
* @return std IO
|
* @return std IO
|
||||||
*/
|
*/
|
||||||
int main(int _argc, const char *_argv[]) {
|
int main(int _argc, const char *_argv[]) {
|
||||||
|
etk::init(_argc, _argv);
|
||||||
audio::river::init();
|
audio::river::init();
|
||||||
zeus::init(_argc, _argv);
|
zeus::init(_argc, _argv);
|
||||||
return ewol::run(new appl::MainApplication(), _argc, _argv);
|
return ewol::run(new appl::MainApplication(), _argc, _argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user