#include <MakeStickDlg.h>
Public Member Functions | |
CMakeStickDlg (CWnd *pParent=NULL) | |
~CMakeStickDlg () | |
Protected Types | |
IDD = IDD_MAKESTICK_DIALOG | |
enum | { IDD = IDD_MAKESTICK_DIALOG } |
Protected Member Functions | |
bool | WriteConfigCMU () |
bool | WriteConfigGT () |
bool | UnzipStick () |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnPaint () |
afx_msg HCURSOR | OnQueryDragIcon () |
afx_msg void | OnWriteStick () |
afx_msg void | OnBrowse () |
afx_msg void | OnError () |
afx_msg void | OnRoleChange () |
afx_msg void | OnSelchangeConfigtype () |
afx_msg void | OnLoadButton () |
Protected Attributes | |
HICON | m_hIcon |
ConfigType | m_configType |
CComboBox | m_configtype |
int | m_role |
int | m_color |
int | m_ip1 |
int | m_ip2 |
int | m_ip3 |
int | m_ip4 |
CString | m_name |
CString | m_netmask |
CString | m_essid |
int | m_ip4base |
CString | m_stickdrive |
BOOL | m_sndhalf |
CString | m_wepkey |
short | m_apmode |
short | m_channel |
int | m_force |
BOOL | m_close |
CString | m_teamName |
CComboBox | m_location |
CString | m_sLocation |
CString | m_zipFileName |
BOOL | m_console |
BOOL | m_unsafe |
Definition at line 36 of file MakeStickDlg.h.
anonymous enum [protected] |
CMakeStickDlg::CMakeStickDlg | ( | CWnd * | pParent = NULL |
) |
Standard-Constructor
Definition at line 42 of file MakeStickDlg.cpp.
References FALSE, GERMAN_TEAM_2004_CONFIGURE, IDR_MAINFRAME, m_apmode, m_channel, m_close, m_color, m_configType, m_console, m_essid, m_force, m_hIcon, m_ip1, m_ip2, m_ip3, m_ip4, m_ip4base, m_name, m_netmask, m_role, m_sLocation, m_sndhalf, m_stickdrive, m_teamName, m_unsafe, m_wepkey, and m_zipFileName.
CMakeStickDlg::~CMakeStickDlg | ( | ) |
Destructor
Definition at line 72 of file MakeStickDlg.cpp.
References m_apmode, m_channel, m_close, m_color, m_configType, m_console, m_essid, m_force, m_ip1, m_ip2, m_ip3, m_ip4base, m_netmask, m_role, m_sLocation, m_sndhalf, m_stickdrive, m_teamName, m_unsafe, m_wepkey, and m_zipFileName.
void CMakeStickDlg::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Generated virtual functions
Definition at line 98 of file MakeStickDlg.cpp.
References IDC_APMODE, IDC_CHANNEL, IDC_CLOSE, IDC_CONFIGTYPE, IDC_CONSOLE, IDC_COPY, IDC_ESSID, IDC_GOALIE, IDC_IP1, IDC_IP2, IDC_IP3, IDC_IP4, IDC_IP4BASE, IDC_LOCATION, IDC_NAME, IDC_NETMASK, IDC_RED, IDC_SNDHALF, IDC_STICKDRIVE, IDC_TEAMNAME, IDC_UNSAFE, IDC_WEPKEY, IDC_ZIPNAME, m_apmode, m_channel, m_close, m_color, m_configtype, m_console, m_essid, m_force, m_ip1, m_ip2, m_ip3, m_ip4, m_ip4base, m_location, m_name, m_netmask, m_role, m_sLocation, m_sndhalf, m_stickdrive, m_teamName, m_unsafe, m_wepkey, and m_zipFileName.
void CMakeStickDlg::OnBrowse | ( | ) | [protected] |
void CMakeStickDlg::OnError | ( | ) | [protected] |
BOOL CMakeStickDlg::OnInitDialog | ( | ) | [protected, virtual] |
Generated Message-Map-Functions
Definition at line 167 of file MakeStickDlg.cpp.
References CMU, CMU_ZIP, configTypeNames, FALSE, GERMAN_TEAM_2003_CONFIGURE, GERMAN_TEAM_2003_ZIP, GERMAN_TEAM_2004_CONFIGURE, GERMAN_TEAM_2004_ZIP, GERMAN_TEAM_COPY_ERS210, GERMAN_TEAM_COPY_ERS7, HANDLE(), IDC_ZIPNAME, CInstanceChecker::PreviousInstanceRunning(), CInstanceChecker::TrackFirstInstanceRunning(), and TRUE.
void CMakeStickDlg::OnLoadButton | ( | ) | [protected] |
void CMakeStickDlg::OnPaint | ( | ) | [protected] |
HCURSOR CMakeStickDlg::OnQueryDragIcon | ( | ) | [protected] |
void CMakeStickDlg::OnRoleChange | ( | ) | [protected] |
void CMakeStickDlg::OnSelchangeConfigtype | ( | ) | [protected] |
Definition at line 331 of file MakeStickDlg.cpp.
References CMU, CMU_ZIP, FALSE, GERMAN_TEAM_2003_CONFIGURE, GERMAN_TEAM_2003_ZIP, GERMAN_TEAM_2004_CONFIGURE, GERMAN_TEAM_2004_ZIP, GERMAN_TEAM_COPY_ERS210, GERMAN_TEAM_COPY_ERS7, IDC_BUTTONLOAD, IDC_CONSOLE, IDC_COPY, IDC_DEFENDER, IDC_FORCE, IDC_GOALIE, IDC_LOCATION, IDC_STRIKER1, IDC_STRIKER2, IDC_TEAMNAME, IDC_UNSAFE, IDC_UPDATE, IDC_ZIPNAME, m_configtype, m_configType, m_force, and TRUE.
void CMakeStickDlg::OnWriteStick | ( | ) | [protected] |
Definition at line 249 of file MakeStickDlg.cpp.
References CMU, CMU_ZIP, endl(), GERMAN_TEAM_2003_CONFIGURE, GERMAN_TEAM_2003_ZIP, GERMAN_TEAM_2004_CONFIGURE, GERMAN_TEAM_2004_ZIP, GERMAN_TEAM_COPY_ERS210, GERMAN_TEAM_COPY_ERS7, m_close, m_configType, m_console, m_force, m_sLocation, m_stickdrive, m_unsafe, UnzipStick(), WriteConfigCMU(), and WriteConfigGT().
bool CMakeStickDlg::UnzipStick | ( | ) | [protected] |
Unzip data to a stick
Definition at line 505 of file MakeStickDlg.cpp.
References m_stickdrive, and m_zipFileName.
Referenced by OnWriteStick().
bool CMakeStickDlg::WriteConfigCMU | ( | ) | [protected] |
bool CMakeStickDlg::WriteConfigGT | ( | ) | [protected] |
Write GermanTeam stick
Definition at line 426 of file MakeStickDlg.cpp.
References endl(), GERMAN_TEAM_2003_CONFIGURE, GERMAN_TEAM_2003_ZIP, gt2003Roles, m_apmode, m_channel, m_color, m_configType, m_essid, m_ip1, m_ip2, m_ip3, m_ip4, m_name, m_netmask, m_role, m_stickdrive, m_teamName, and m_wepkey.
Referenced by OnWriteStick().
short CMakeStickDlg::m_apmode [protected] |
Definition at line 77 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
short CMakeStickDlg::m_channel [protected] |
Definition at line 78 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
BOOL CMakeStickDlg::m_close [protected] |
Definition at line 80 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnBrowse(), OnError(), OnWriteStick(), and ~CMakeStickDlg().
int CMakeStickDlg::m_color [protected] |
Definition at line 65 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
CComboBox CMakeStickDlg::m_configtype [protected] |
Definition at line 63 of file MakeStickDlg.h.
Referenced by DoDataExchange(), and OnSelchangeConfigtype().
ConfigType CMakeStickDlg::m_configType [protected] |
The current configuration
Definition at line 49 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), OnSelchangeConfigtype(), OnWriteStick(), WriteConfigGT(), and ~CMakeStickDlg().
BOOL CMakeStickDlg::m_console [protected] |
Definition at line 85 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnWriteStick(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_essid [protected] |
Definition at line 72 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
int CMakeStickDlg::m_force [protected] |
Definition at line 79 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnSelchangeConfigtype(), OnWriteStick(), and ~CMakeStickDlg().
HICON CMakeStickDlg::m_hIcon [protected] |
The icon
Definition at line 47 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), OnPaint(), and OnQueryDragIcon().
int CMakeStickDlg::m_ip1 [protected] |
Definition at line 66 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
int CMakeStickDlg::m_ip2 [protected] |
Definition at line 67 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
int CMakeStickDlg::m_ip3 [protected] |
Definition at line 68 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
int CMakeStickDlg::m_ip4 [protected] |
Definition at line 69 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), WriteConfigCMU(), and WriteConfigGT().
int CMakeStickDlg::m_ip4base [protected] |
Definition at line 73 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), and ~CMakeStickDlg().
CComboBox CMakeStickDlg::m_location [protected] |
CString CMakeStickDlg::m_name [protected] |
Definition at line 70 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), WriteConfigCMU(), and WriteConfigGT().
CString CMakeStickDlg::m_netmask [protected] |
Definition at line 71 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
int CMakeStickDlg::m_role [protected] |
Definition at line 64 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_sLocation [protected] |
Definition at line 83 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnWriteStick(), and ~CMakeStickDlg().
BOOL CMakeStickDlg::m_sndhalf [protected] |
Definition at line 75 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnRoleChange(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_stickdrive [protected] |
Definition at line 74 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnBrowse(), OnError(), OnWriteStick(), UnzipStick(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_teamName [protected] |
Definition at line 81 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigGT(), and ~CMakeStickDlg().
BOOL CMakeStickDlg::m_unsafe [protected] |
Definition at line 86 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnWriteStick(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_wepkey [protected] |
Definition at line 76 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), WriteConfigCMU(), WriteConfigGT(), and ~CMakeStickDlg().
CString CMakeStickDlg::m_zipFileName [protected] |
Definition at line 84 of file MakeStickDlg.h.
Referenced by CMakeStickDlg(), DoDataExchange(), OnLoadButton(), UnzipStick(), and ~CMakeStickDlg().