Regroup commonly used code. More...
#include <ClientApp.hh>
Inheritance diagram for ClientApp:

Public Member Functions | |
| ClientApp (int argc, char **argv, const std::string &cfg_def_file, const std::string &cfg_def_loc) | |
| ClientApp constructor. | |
| int | runApp () |
| Enter in the main outer client loop. | |
| int | runChampion () |
| Load a champion as an external dynamic library ad run it. | |
Protected Member Functions | |
| virtual void | showHelp (const char *prgname) |
| virtual void | showVersion () |
| virtual int | showMenu () |
| virtual int | onPlay (bool replay)=0 |
Protected Attributes | |
| xml::XMLConfig | cfg_ |
| BaseCRules * | rules_ |
| ClientCx | ccx_ |
| RulesLoader | rules_loader_ |
Regroup commonly used code.
| ClientApp::ClientApp | ( | int | argc, | |
| char ** | argv, | |||
| const std::string & | cfg_def_file, | |||
| const std::string & | cfg_def_loc | |||
| ) |
ClientApp constructor.
| argc | argc from main(). | |
| argv | argv from main(). | |
| cfg_def_file | User configuration file to load, $HOME will be appended. | |
| cfg_def_loc | Package data directory, where to find default configuration file. |
1.4.7