From: Steve Brokenshire Date: Sun, 13 Mar 2016 13:56:31 +0000 (+0000) Subject: Added comments to describe functions in contacteditor/frmContactEditor-Home.cpp X-Git-Tag: release-0.11~70 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=ab3dee2bcfd41def158d2cec95e2dcdac376b81c;p=xestiaab%2F.git Added comments to describe functions in contacteditor/frmContactEditor-Home.cpp --- diff --git a/source/contacteditor/frmContactEditor-Home.cpp b/source/contacteditor/frmContactEditor-Home.cpp index 7514128..7aa3830 100644 --- a/source/contacteditor/frmContactEditor-Home.cpp +++ b/source/contacteditor/frmContactEditor-Home.cpp @@ -36,6 +36,8 @@ void frmContactEditor::AddHomeNickname( wxCommandEvent& event ) { + // Bring up window to add nickname. + int intResult = 0; frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this ); @@ -59,6 +61,8 @@ void frmContactEditor::AddHomeNickname( wxCommandEvent& event ) void frmContactEditor::ModifyHomeNickname( wxCommandEvent& event ) { + // Bring up window to modify nickname. + long longSelected = -1; int intSelectedData = 0; @@ -88,6 +92,8 @@ void frmContactEditor::ModifyHomeNickname( wxCommandEvent& event ) void frmContactEditor::DeleteHomeNickname( wxCommandEvent& event ) { + // Bring up window to delete nickname. + long longSelected = -1; int intSelectedData = 0; @@ -113,6 +119,8 @@ void frmContactEditor::DeleteHomeNickname( wxCommandEvent& event ) void frmContactEditor::AddHomeAddress( wxCommandEvent& event ) { + // Bring up window to add address. + int intResult = 0; frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this ); @@ -144,6 +152,8 @@ void frmContactEditor::AddHomeAddress( wxCommandEvent& event ) void frmContactEditor::ModifyHomeAddress( wxCommandEvent& event ) { + // Bring up window to modify address. + long longSelected = -1; int intSelectedData = 0; @@ -180,7 +190,9 @@ void frmContactEditor::ModifyHomeAddress( wxCommandEvent& event ) void frmContactEditor::DeleteHomeAddress( wxCommandEvent& event ) { - + + // Bring up window to delete address. + long longSelected = -1; int intSelectedData = 0; @@ -207,6 +219,8 @@ void frmContactEditor::DeleteHomeAddress( wxCommandEvent& event ) void frmContactEditor::AddHomeEmail( wxCommandEvent& event ) { + // Bring up window to add email. + int intResult = 0; frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this ); @@ -229,6 +243,8 @@ void frmContactEditor::AddHomeEmail( wxCommandEvent& event ) void frmContactEditor::ModifyHomeEmail( wxCommandEvent& event ) { + // Bring up window to modify email. + long longSelected = -1; int intSelectedData = 0; @@ -258,6 +274,8 @@ void frmContactEditor::ModifyHomeEmail( wxCommandEvent& event ) void frmContactEditor::DeleteHomeEmail( wxCommandEvent& event ) { + // Bring up window to delete email. + long longSelected = -1; int intSelectedData = 0; @@ -280,6 +298,8 @@ void frmContactEditor::DeleteHomeEmail( wxCommandEvent& event ) void frmContactEditor::AddHomeIM( wxCommandEvent& event ) { + // Bring up window to add IM. + int intResult = 0; frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this ); @@ -303,6 +323,8 @@ void frmContactEditor::AddHomeIM( wxCommandEvent& event ) void frmContactEditor::ModifyHomeIM( wxCommandEvent& event ) { + + // Bring up window to modify IM. long longSelected = -1; int intSelectedData = 0; @@ -333,6 +355,8 @@ void frmContactEditor::ModifyHomeIM( wxCommandEvent& event ) void frmContactEditor::DeleteHomeIM( wxCommandEvent& event ) { + + // Bring up window to delete IM. long longSelected = -1; int intSelectedData = 0; @@ -356,6 +380,8 @@ void frmContactEditor::DeleteHomeIM( wxCommandEvent& event ) void frmContactEditor::AddHomeTelephone( wxCommandEvent& event ) { + // Bring up window to add telephone. + int intResult = 0; frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this ); @@ -379,6 +405,8 @@ void frmContactEditor::AddHomeTelephone( wxCommandEvent& event ) void frmContactEditor::ModifyHomeTelephone( wxCommandEvent& event ) { + // Bring up window to modify telephone. + long longSelected = -1; int intSelectedData = 0; @@ -408,6 +436,8 @@ void frmContactEditor::ModifyHomeTelephone( wxCommandEvent& event ) void frmContactEditor::DeleteHomeTelephone( wxCommandEvent& event ) { + // Bring up window to delete telephone. + long longSelected = -1; int intSelectedData = 0; @@ -428,6 +458,9 @@ void frmContactEditor::DeleteHomeTelephone( wxCommandEvent& event ) void frmContactEditor::AddHomeLanguage( wxCommandEvent& event ) { + + // Bring up window to add language. + int intResult = 0; frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this ); @@ -451,6 +484,8 @@ void frmContactEditor::AddHomeLanguage( wxCommandEvent& event ) void frmContactEditor::ModifyHomeLanguage( wxCommandEvent& event ) { + // Bring up window to modify language. + long longSelected = -1; int intSelectedData = 0; @@ -479,6 +514,8 @@ void frmContactEditor::ModifyHomeLanguage( wxCommandEvent& event ) void frmContactEditor::DeleteHomeLanguage( wxCommandEvent& event ) { + // Bring up window to delete language. + long longSelected = -1; int intSelectedData = 0; @@ -500,6 +537,8 @@ void frmContactEditor::DeleteHomeLanguage( wxCommandEvent& event ) void frmContactEditor::AddHomeTimezone( wxCommandEvent& event ) { + // Bring up window to add timezone. + int intResult = 0; frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this ); @@ -523,6 +562,8 @@ void frmContactEditor::AddHomeTimezone( wxCommandEvent& event ) void frmContactEditor::ModifyHomeTimezone( wxCommandEvent& event ) { + // Bring up window to modify timezone. + long longSelected = -1; int intSelectedData = 0; @@ -551,6 +592,9 @@ void frmContactEditor::ModifyHomeTimezone( wxCommandEvent& event ) void frmContactEditor::DeleteHomeTimezone( wxCommandEvent& event ) { + + // Bring up window to delete timezone. + long longSelected = -1; int intSelectedData = 0; @@ -571,6 +615,8 @@ void frmContactEditor::DeleteHomeTimezone( wxCommandEvent& event ) void frmContactEditor::AddHomeGeoposition( wxCommandEvent& event ) { + + // Bring up window to add geoposition. int intResult = 0; @@ -596,6 +642,8 @@ void frmContactEditor::AddHomeGeoposition( wxCommandEvent& event ) void frmContactEditor::ModifyHomeGeoposition( wxCommandEvent& event ) { + // Bring up window to modify geoposition. + long longSelected = -1; int intSelectedData = 0; @@ -626,6 +674,8 @@ void frmContactEditor::ModifyHomeGeoposition( wxCommandEvent& event ) void frmContactEditor::DeleteHomeGeoposition( wxCommandEvent& event ) { + // Bring up window to delete geoposition. + long longSelected = -1; int intSelectedData = 0; @@ -647,6 +697,8 @@ void frmContactEditor::DeleteHomeGeoposition( wxCommandEvent& event ) void frmContactEditor::AddHomeWebsite( wxCommandEvent& event ) { + + // Bring up window to add website. int intResult = 0; @@ -671,6 +723,8 @@ void frmContactEditor::AddHomeWebsite( wxCommandEvent& event ) void frmContactEditor::ModifyHomeWebsite( wxCommandEvent& event ) { + // Bring up window to modify website. + long longSelected = -1; int intSelectedData = 0; @@ -700,6 +754,8 @@ void frmContactEditor::ModifyHomeWebsite( wxCommandEvent& event ) void frmContactEditor::DeleteHomeWebsite( wxCommandEvent& event ) { + // Bring up window to delete website. + long longSelected = -1; int intSelectedData = 0; @@ -721,6 +777,8 @@ void frmContactEditor::DeleteHomeWebsite( wxCommandEvent& event ) void frmContactEditor::AddHomeTitle( wxCommandEvent& event ) { + // Bring up window to add title. + int intResult = 0; frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this ); @@ -744,6 +802,8 @@ void frmContactEditor::AddHomeTitle( wxCommandEvent& event ) void frmContactEditor::ModifyHomeTitle( wxCommandEvent& event ) { + // Bring up window to modify title. + long longSelected = -1; int intSelectedData = 0; @@ -773,6 +833,8 @@ void frmContactEditor::ModifyHomeTitle( wxCommandEvent& event ) void frmContactEditor::DeleteHomeTitle( wxCommandEvent& event ) { + // Bring up window to delete title. + long longSelected = -1; int intSelectedData = 0; @@ -794,6 +856,8 @@ void frmContactEditor::DeleteHomeTitle( wxCommandEvent& event ) void frmContactEditor::AddHomeRole( wxCommandEvent& event ) { + // Bring up window to add role. + int intResult = 0; frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this ); @@ -816,6 +880,8 @@ void frmContactEditor::AddHomeRole( wxCommandEvent& event ) void frmContactEditor::ModifyHomeRole( wxCommandEvent& event ) { + + // Bring up window to modify role. long longSelected = -1; int intSelectedData = 0; @@ -846,6 +912,8 @@ void frmContactEditor::ModifyHomeRole( wxCommandEvent& event ) void frmContactEditor::DeleteHomeRole( wxCommandEvent& event ) { + // Bring up window to delete role. + long longSelected = -1; int intSelectedData = 0; @@ -867,6 +935,8 @@ void frmContactEditor::DeleteHomeRole( wxCommandEvent& event ) void frmContactEditor::AddHomeOrganisation( wxCommandEvent& event ) { + // Bring up window to add organisation. + int intResult = 0; frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this ); @@ -891,6 +961,8 @@ void frmContactEditor::AddHomeOrganisation( wxCommandEvent& event ) void frmContactEditor::ModifyHomeOrganisation( wxCommandEvent& event ) { + // Bring up window to modify organisation. + long longSelected = -1; int intSelectedData = 0; @@ -921,6 +993,8 @@ void frmContactEditor::ModifyHomeOrganisation( wxCommandEvent& event ) void frmContactEditor::DeleteHomeOrganisation( wxCommandEvent& event ) { + // Bring up window to delete organisation. + long longSelected = -1; int intSelectedData = 0; @@ -943,6 +1017,8 @@ void frmContactEditor::DeleteHomeOrganisation( wxCommandEvent& event ) void frmContactEditor::AddHomeNote( wxCommandEvent& event ) { + // Bring up window to add note. + int intResult = 0; frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this ); @@ -966,6 +1042,8 @@ void frmContactEditor::AddHomeNote( wxCommandEvent& event ) void frmContactEditor::ModifyHomeNote( wxCommandEvent& event ) { + // Bring up window to modify note. + long longSelected = -1; int intSelectedData = 0; @@ -995,6 +1073,8 @@ void frmContactEditor::ModifyHomeNote( wxCommandEvent& event ) void frmContactEditor::DeleteHomeNote( wxCommandEvent& event ) { + // Bring up window to delete note. + long longSelected = -1; int intSelectedData = 0;