Comments added for:
frmEditAccount::DetectAddressBook
frmEditAccount::LoadPointers
frmEditAccount::LoadSettings
frmEditAccount::UpdateSettings
frmEditAccount::GetDialogResult
if (sslcode == CURLE_OK){
if (sslcode == CURLE_OK){
+ // Certificate is okay. Do nothing.
} else if (sslcode == CURLE_SSL_CACERT || sslcode == CURLE_SSL_CONNECT_ERROR){
} else if (sslcode == CURLE_SSL_CACERT || sslcode == CURLE_SSL_CONNECT_ERROR){
void frmEditAccount::LoadPointers( wxFileConfig* cfgin ){
void frmEditAccount::LoadPointers( wxFileConfig* cfgin ){
+ // Setup the account configuration file pointer.
+
cfgfile = cfgin;
}
void frmEditAccount::LoadSettings( wxString AccNameIn ){
cfgfile = cfgin;
}
void frmEditAccount::LoadSettings( wxString AccNameIn ){
- // Get the data from the accounts settings file.
+ // Get the data from the accounts settings file and
+ // fill in the account fields.
AccName = AccNameIn;
long itemindex = 0;
AccName = AccNameIn;
long itemindex = 0;
+ // Set the dialog result to true and close the window.
+
DialogResult = true;
this->Close();
DialogResult = true;
this->Close();
void frmEditAccount::CloseWindow( wxCommandEvent& event )
{
void frmEditAccount::CloseWindow( wxCommandEvent& event )
{
+
+ // Set the dialog result to false and close the window.
+
DialogResult = false;
this->Close();
DialogResult = false;
this->Close();
}
bool frmEditAccount::GetDialogResult(){
}
bool frmEditAccount::GetDialogResult(){
+
+ // Get the result of the dialog.