ewol.hpp File Reference

Go to the source code of this file.

Functions

int32_t ewol::run (ewol::context::Application *_application, int32_t _argc=0, const char *_argv[]=nullptr)
 
std::string ewol::getVersion ()
 

Detailed Description

Author
Edouard DUPIN
Note
License: APACHE v2.0 (see license file)

Function Documentation

§ getVersion()

std::string ewol::getVersion ( )

get EWOL version

Returns
The string that describe ewol version

§ run()

int32_t ewol::run ( ewol::context::Application _application,
int32_t  _argc = 0,
const char *  _argv[] = nullptr 
)

This is the only one things the User might done in his main();.

Note
To answare you before you ask the question, this is really simple: Due to the fect that the current system is multiple-platform, you "main" Does not exist in the android platform, then ewol call other start and stop function, to permit to have only one code
The main can not be in the ewol, due to the fact thet is an librairy
Parameters
[in]_applicationjust created instance of the applicationo
[in]_argcStandard argc
[in]_argvStandard argv
Returns
normal error int for the application error management