ServerSFrame Class Reference

List of all members.

Public Member Functions

 ServerSFrame (OptionsGame &options)
virtual bool TransferDataToWindow ()
virtual bool TransferDataFromWindow ()
void onSettingsButton (wxCommandEvent &event)
void onPublishAutoButton (wxCommandEvent &event)

Private Attributes

OptionsGameoptions_


Detailed Description

Definition at line 33 of file ServerSDialog.cpp.


Constructor & Destructor Documentation

ServerSFrame::ServerSFrame ( OptionsGame options  ) 

Definition at line 55 of file ServerSDialog.cpp.

References convertString(), createControls(), S3D::getDataFile(), and IDOK_CTRL.


Member Function Documentation

bool ServerSFrame::TransferDataToWindow (  )  [virtual]

Definition at line 92 of file ServerSDialog.cpp.

References convertString(), S3D::dialogExit(), S3D::formatStringBuffer(), OptionsGame::getAllowSameIP(), OptionsGame::getAllowSameIPEntry(), OptionsGame::getAllowSameUniqueId(), OptionsGame::getAllowSameUniqueIdEntry(), OptionEntryStringEnum::getDescription(), OptionEntry::getDescription(), ModDirs::getDirs(), OptionsGame::getManagementPortNo(), OptionsGame::getManagementPortNoEntry(), OptionsGame::getMod(), ModInfo::getName(), OptionsGame::getPortNo(), OptionsGame::getPortNoEntry(), OptionsGame::getPublishAddress(), OptionsGame::getPublishAddressEntry(), OptionsGame::getPublishServer(), OptionsGame::getPublishServerEntry(), OptionsGame::getServerFileLogger(), OptionsGame::getServerFileLoggerEntry(), OptionsGame::getServerName(), OptionsGame::getServerNameEntry(), IDC_ALLOWSAME_CTRL, IDC_ALLOWSAMEID_CTRL, IDC_LOGTOFILE_CTRL, IDC_PUBLISH_CTRL, IDC_PUBLISHIP_CTRL, IDC_SERVER_MOD_CTRL, IDC_SERVER_NAME_CTRL, IDC_SERVER_PORT_CTRL, IDC_SERVERMANAGEMENT_PORT_CTRL, ModDirs::loadModDirs(), options_, and LangStringUtil::strcmp().

bool ServerSFrame::TransferDataFromWindow (  )  [virtual]

Definition at line 143 of file ServerSDialog.cpp.

References OptionsGame::getAllowSameIPEntry(), OptionsGame::getAllowSameUniqueIdEntry(), OptionsGame::getManagementPortNoEntry(), OptionsGame::getModEntry(), OptionsGame::getPortNoEntry(), OptionsGame::getPublishAddressEntry(), OptionsGame::getPublishServerEntry(), OptionsGame::getServerFileLoggerEntry(), OptionsGame::getServerNameEntry(), IDC_ALLOWSAME_CTRL, IDC_ALLOWSAMEID_CTRL, IDC_LOGTOFILE_CTRL, IDC_PUBLISH_CTRL, IDC_PUBLISHIP_CTRL, IDC_SERVER_MOD_CTRL, IDC_SERVER_NAME_CTRL, IDC_SERVER_PORT_CTRL, IDC_SERVERMANAGEMENT_PORT_CTRL, options_, OptionEntryStringEnum::setValue(), OptionEntryBool::setValue(), OptionEntryString::setValue(), and OptionEntryInt::setValue().

Referenced by onSettingsButton().

void ServerSFrame::onSettingsButton ( wxCommandEvent &  event  ) 

Definition at line 85 of file ServerSDialog.cpp.

References options_, showSettingsDialog(), and TransferDataFromWindow().

void ServerSFrame::onPublishAutoButton ( wxCommandEvent &  event  ) 

Definition at line 80 of file ServerSDialog.cpp.

References IDC_PUBLISHIP_CTRL.


Member Data Documentation

OptionsGame& ServerSFrame::options_ [private]

Definition at line 47 of file ServerSDialog.cpp.

Referenced by onSettingsButton(), TransferDataFromWindow(), and TransferDataToWindow().


The documentation for this class was generated from the following file:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3