wex
v21.04.0
|
Offers the application, with lib specific init and exit. More...
#include <wex/app.h>
Inherits wxApp.
Public Member Functions | |
bool | OnInit () override |
Virtual interface. More... | |
int | OnExit () override |
Deletes all global objects and cleans up things if necessary. More... | |
const auto & | get_catalog_dir () const |
Other methods. More... | |
const auto & | get_locale () const |
Returns the locale. | |
Offers the application, with lib specific init and exit.
It also keeps the locale and the catalog dir. Your application should be derived from this class.
|
inline |
Other methods.
Returns the catalog dir.
|
override |
Deletes all global objects and cleans up things if necessary.
You should normally don't need to override it.
|
override |
Virtual interface.
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.