SpringLobby wxApp. More...
#include <springlobbyapp.h>
Inherits OnQuitSink< SpringLobbyApp >.

Public Member Functions | |
| SpringLobbyApp () | |
| ~SpringLobbyApp () | |
| virtual bool | OnInit () |
| Initializes the application. | |
| virtual int | OnExit () |
| Finalizes the application. | |
| virtual void | OnFatalException () |
| is called when the app crashes | |
| void | OnTimer (wxTimerEvent &event) |
| Is called every 1/10 seconds to update statuses. | |
| bool | SelectLanguage () |
| virtual void | OnInitCmdLine (wxCmdLineParser &parser) |
| virtual bool | OnCmdLineParsed (wxCmdLineParser &parser) |
| parses the command line and sets global app options like log verbosity or log target | |
| void | OnQuit (GlobalEvents::GlobalEventData data) |
Protected Types | |
| typedef OnQuitSink < SpringLobbyApp, GlobalEvents::GlobalEventData > | BaseType |
| typedef EventReceiverFunc < OnQuitSink, GlobalEvents::GlobalEventData,&OnQuitSink::OnQuit > | EventReceiverFunction |
Protected Member Functions | |
| void | CacheAndSettingsSetup () |
| SpringLobbyApp & | asImp () |
| const SpringLobbyApp & | asImp () const |
Protected Attributes | |
| wxTimer * | m_timer |
| bool | quit_called |
| wxTranslationHelper * | m_translationhelper |
| long | m_log_verbosity |
| bool | m_log_console |
| bool | m_log_file |
| wxString | m_log_file_path |
| bool | m_log_window_show |
| bool | m_crash_handle_disable |
| wxString | m_customizer_archive_name |
| wxString | m_appname |
| EventReceiverFunction | m_OnQuitSink |
SpringLobby wxApp.
Definition at line 13 of file springlobbyapp.h.
typedef OnQuitSink<SpringLobbyApp ,GlobalEvents::GlobalEventData > OnQuitSink< SpringLobbyApp , GlobalEvents::GlobalEventData >::BaseType [protected, inherited] |
typedef EventReceiverFunc<OnQuitSink, GlobalEvents::GlobalEventData , &OnQuitSink::OnQuit> OnQuitSink< SpringLobbyApp , GlobalEvents::GlobalEventData >::EventReceiverFunction [protected, inherited] |
| SpringLobbyApp::SpringLobbyApp | ( | ) |
Definition at line 76 of file springlobbyapp.cpp.
| SpringLobbyApp::~SpringLobbyApp | ( | ) |
Definition at line 89 of file springlobbyapp.cpp.
| const SpringLobbyApp & CRTPbase< SpringLobbyApp >::asImp | ( | ) | const [inline, protected, inherited] |
Definition at line 10 of file crtpbase.h.
| SpringLobbyApp & CRTPbase< SpringLobbyApp >::asImp | ( | ) | [inline, protected, inherited] |
Definition at line 9 of file crtpbase.h.
| void SpringLobbyApp::CacheAndSettingsSetup | ( | ) | [protected] |
Definition at line 373 of file springlobbyapp.cpp.
| bool SpringLobbyApp::OnCmdLineParsed | ( | wxCmdLineParser & | parser | ) | [virtual] |
parses the command line and sets global app options like log verbosity or log target
Definition at line 328 of file springlobbyapp.cpp.
| int SpringLobbyApp::OnExit | ( | ) | [virtual] |
Finalizes the application.
Definition at line 235 of file springlobbyapp.cpp.
| void SpringLobbyApp::OnFatalException | ( | ) | [virtual] |
is called when the app crashes
Definition at line 260 of file springlobbyapp.cpp.
| bool SpringLobbyApp::OnInit | ( | ) | [virtual] |
Initializes the application.
It will open the main window and connect default to server or open the connect window.
Definition at line 108 of file springlobbyapp.cpp.
| void SpringLobbyApp::OnInitCmdLine | ( | wxCmdLineParser & | parser | ) | [virtual] |
Definition at line 292 of file springlobbyapp.cpp.
| void SpringLobbyApp::OnQuit | ( | GlobalEvents::GlobalEventData | data | ) |
Reimplemented from OnQuitSink< SpringLobbyApp >.
Definition at line 528 of file springlobbyapp.cpp.
| void SpringLobbyApp::OnTimer | ( | wxTimerEvent & | event | ) |
Is called every 1/10 seconds to update statuses.
Definition at line 276 of file springlobbyapp.cpp.
| bool SpringLobbyApp::SelectLanguage | ( | ) |
Definition at line 281 of file springlobbyapp.cpp.
wxString SpringLobbyApp::m_appname [protected] |
Definition at line 50 of file springlobbyapp.h.
bool SpringLobbyApp::m_crash_handle_disable [protected] |
Definition at line 48 of file springlobbyapp.h.
wxString SpringLobbyApp::m_customizer_archive_name [protected] |
Definition at line 49 of file springlobbyapp.h.
bool SpringLobbyApp::m_log_console [protected] |
Definition at line 44 of file springlobbyapp.h.
bool SpringLobbyApp::m_log_file [protected] |
Definition at line 45 of file springlobbyapp.h.
wxString SpringLobbyApp::m_log_file_path [protected] |
Definition at line 46 of file springlobbyapp.h.
long SpringLobbyApp::m_log_verbosity [protected] |
Definition at line 43 of file springlobbyapp.h.
bool SpringLobbyApp::m_log_window_show [protected] |
Definition at line 47 of file springlobbyapp.h.
EventReceiverFunction OnQuitSink< SpringLobbyApp , GlobalEvents::GlobalEventData >::m_OnQuitSink [protected, inherited] |
wxTimer* SpringLobbyApp::m_timer [protected] |
Definition at line 37 of file springlobbyapp.h.
wxTranslationHelper* SpringLobbyApp::m_translationhelper [protected] |
Definition at line 41 of file springlobbyapp.h.
bool SpringLobbyApp::quit_called [protected] |
Definition at line 39 of file springlobbyapp.h.
1.6.3