wex v24.10.0
|
Offers the application, with lib specific init and exit, and provides access to the locale and the catalog dir. More...
#include <wex/core/app.h>
Public Member Functions | |
bool | OnInit () override |
Constructs the config, initializes the locale, loads the VCS file. | |
int | OnExit () override |
Deletes all global objects and cleans up things if necessary. | |
const std::string | get_catalog_dir () const |
Returns the catalog dir. | |
auto | get_language () const |
Returns locale language. | |
Static Public Member Functions | |
static const wxUILocale & | get_locale () |
Returns the locale. | |
Offers the application, with lib specific init and exit, and provides access to the locale and the catalog dir.
Your application should be derived from this class.
|
override |
Deletes all global objects and cleans up things if necessary.
You should normally don't need to override it.
|
override |
Constructs the config, initializes the locale, loads the VCS file.
In your own OnInit first set the app name, as it uses this name for the config, and then call this base class method.