#include <cksums.hpp>
Public Member Functions | |
void | CleanUpAppResources () |
Cleans up the ressources taken by the instance. | |
void | InitLocale () |
Initializes the locale. | |
virtual bool | OnCmdLineError (wxCmdLineParser &parser) |
Called when command line parsing fails. | |
virtual bool | OnCmdLineHelp (wxCmdLineParser &parser) |
Called if -h or --help option was specified. | |
virtual bool | OnCmdLineParsed (wxCmdLineParser &parser) |
Called after successfully parsing the command line. | |
virtual int | OnExit () |
Application cleanup method. | |
virtual bool | OnInit () |
Application initialization. | |
virtual void | OnInitCmdLine (wxCmdLineParser &parser) |
Adds all supported options to the given parser. | |
Protected Attributes | |
wxLocale | appLocale |
The application's locale. |
Needed by wxWidgets.
wxWidgets defines the main
fonction.
Definition at line 51 of file cksums.hpp.
|
Cleans up the ressources taken by the instance. Call it before quitting the application. Definition at line 156 of file cksums.cpp. References AppPrefs::cleanupGlobal(). Referenced by OnExit(). |
|
Initializes the locale.
Definition at line 273 of file cksums.cpp. References appLocale, AppPrefs::get(), AppPrefs::readString(), and Languages::setLocale(). |
|
Called when command line parsing fails.
Definition at line 261 of file cksums.cpp. References OnCmdLineError(). Referenced by OnCmdLineError(). |
|
Called if
Called by
Definition at line 241 of file cksums.cpp. References OnCmdLineHelp(). Referenced by OnCmdLineHelp(). |
|
Called after successfully parsing the command line.
Definition at line 213 of file cksums.cpp. References OnCmdLineParsed(). Referenced by OnCmdLineParsed(). |
|
Application cleanup method.
Provide this member function for any processing which needs to be done as the application is about to exit.
Definition at line 142 of file cksums.cpp. References CleanUpAppResources(). |
|
Application initialization.
This method is called on application startup. If
Definition at line 73 of file cksums.cpp. References APP_AUTHOR, APP_NAME, CmdLineOptions::cleanup(), frmSums::closeAfterInitFromCmdLine(), SumFileFactory::initialize(), frmSums::initializeFromCmdLine(), and BytesDisplayer::initStatic(). |
|
Adds all supported options to the given parser.
Called from
Definition at line 182 of file cksums.cpp. References getAppName(), and OnInitCmdLine(). Referenced by OnInitCmdLine(). |
|
The application's locale.
Definition at line 83 of file cksums.hpp. Referenced by InitLocale(). |