SpringLobbyApp Class Reference

SpringLobby wxApp. More...

#include <springlobbyapp.h>

Inherits OnQuitSink< SpringLobbyApp >.

Collaboration diagram for SpringLobbyApp:
Collaboration graph
[legend]

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 ()
SpringLobbyAppasImp ()
const SpringLobbyAppasImp () const

Protected Attributes

wxTimer * m_timer
bool quit_called
wxTranslationHelperm_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

Detailed Description

SpringLobby wxApp.

Definition at line 13 of file springlobbyapp.h.


Member Typedef Documentation

Definition at line 57 of file isink.h.

Definition at line 65 of file isink.h.


Constructor & Destructor Documentation

SpringLobbyApp::SpringLobbyApp (  ) 

Definition at line 76 of file springlobbyapp.cpp.

SpringLobbyApp::~SpringLobbyApp (  ) 

Definition at line 89 of file springlobbyapp.cpp.


Member Function Documentation

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.


Field Documentation

Definition at line 50 of file springlobbyapp.h.

Definition at line 48 of file springlobbyapp.h.

Definition at line 49 of file springlobbyapp.h.

Definition at line 44 of file springlobbyapp.h.

bool SpringLobbyApp::m_log_file [protected]

Definition at line 45 of file springlobbyapp.h.

Definition at line 46 of file springlobbyapp.h.

Definition at line 43 of file springlobbyapp.h.

Definition at line 47 of file springlobbyapp.h.

Definition at line 66 of file isink.h.

wxTimer* SpringLobbyApp::m_timer [protected]

Definition at line 37 of file springlobbyapp.h.

Definition at line 41 of file springlobbyapp.h.

bool SpringLobbyApp::quit_called [protected]

Definition at line 39 of file springlobbyapp.h.


The documentation for this class was generated from the following files:

Generated on Thu Dec 29 00:11:49 2011 for SpringLobby by doxygen 1.6.3