From 361975db3c6ec171bd0a4271c343f97f83c31148 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 15:54:01 +0000 Subject: [PATCH] Added comments to describe functions in contacteditor/frmContactEditor-General.cpp --- .../frmContactEditor-General.cpp | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/source/contacteditor/frmContactEditor-General.cpp b/source/contacteditor/frmContactEditor-General.cpp index 75ececb..9dc47ba 100644 --- a/source/contacteditor/frmContactEditor-General.cpp +++ b/source/contacteditor/frmContactEditor-General.cpp @@ -36,6 +36,8 @@ void frmContactEditor::AddGeneralNickname( wxCommandEvent& event ) { + // Bring up the window for adding a nickname. + int intResult = 0; frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this ); @@ -59,6 +61,8 @@ void frmContactEditor::AddGeneralNickname( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralNickname( wxCommandEvent& event ) { + // Bring up the window for modifying a nickname. + long longSelected = -1; int intSelectedData = 0; @@ -88,6 +92,8 @@ void frmContactEditor::ModifyGeneralNickname( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralNickname( wxCommandEvent& event ) { + // Bring up the window for deleting a nickname. + long longSelected = -1; int intSelectedData = 0; @@ -113,6 +119,8 @@ void frmContactEditor::DeleteGeneralNickname( wxCommandEvent& event ) void frmContactEditor::AddGeneralAddress( wxCommandEvent& event ) { + // Bring up the window for adding an address. + int intResult = 0; frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this ); @@ -143,6 +151,8 @@ void frmContactEditor::AddGeneralAddress( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralAddress( wxCommandEvent& event ) { + + // Bring up the window for editing an address. long longSelected = -1; int intSelectedData = 0; @@ -189,6 +199,8 @@ void frmContactEditor::ModifyGeneralAddress( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralAddress( wxCommandEvent& event ) { + // Bring up the window for deleting a nickname. + long longSelected = -1; int intSelectedData = 0; @@ -217,6 +229,8 @@ void frmContactEditor::DeleteGeneralAddress( wxCommandEvent& event ) void frmContactEditor::AddGeneralEmail( wxCommandEvent& event ) { + // Bring up the window for adding an email. + int intResult = 0; frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this ); @@ -239,6 +253,8 @@ void frmContactEditor::AddGeneralEmail( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralEmail( wxCommandEvent& event ) { + // Bring up the window for modifying an email. + long longSelected = -1; int intSelectedData = 0; @@ -269,6 +285,8 @@ void frmContactEditor::ModifyGeneralEmail( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralEmail( wxCommandEvent& event ) { + // Bring up the window for deleting an email. + long longSelected = -1; int intSelectedData = 0; @@ -292,6 +310,8 @@ void frmContactEditor::DeleteGeneralEmail( wxCommandEvent& event ) void frmContactEditor::AddGeneralIM( wxCommandEvent& event ) { + // Bring up the window for adding a IM address. + int intResult = 0; frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this ); @@ -316,6 +336,8 @@ void frmContactEditor::AddGeneralIM( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralIM( wxCommandEvent& event ) { + // Bring up the window for editing a IM address. + long longSelected = -1; int intSelectedData = 0; @@ -348,6 +370,8 @@ void frmContactEditor::ModifyGeneralIM( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralIM( wxCommandEvent& event ) { + // Bring up the window for deleting an IM address. + long longSelected = -1; int intSelectedData = 0; @@ -371,6 +395,8 @@ void frmContactEditor::DeleteGeneralIM( wxCommandEvent& event ) void frmContactEditor::AddGeneralTelephone( wxCommandEvent& event ) { + // Bring up the window for adding a telephone. + int intResult = 0; frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this ); @@ -394,6 +420,8 @@ void frmContactEditor::AddGeneralTelephone( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralTelephone( wxCommandEvent& event ) { + // Bring up the window for editing a telephone. + long longSelected = -1; int intSelectedData = 0; @@ -425,6 +453,8 @@ void frmContactEditor::ModifyGeneralTelephone( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralTelephone( wxCommandEvent& event ) { + // Bring up the window for deleting a telephone. + long longSelected = -1; int intSelectedData = 0; @@ -448,6 +478,8 @@ void frmContactEditor::DeleteGeneralTelephone( wxCommandEvent& event ) void frmContactEditor::AddGeneralLanguages( wxCommandEvent& event ) { + // Bring up the window for adding a language. + int intResult = 0; frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this ); @@ -470,6 +502,8 @@ void frmContactEditor::AddGeneralLanguages( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralLanguages( wxCommandEvent& event ) { + // Bring up the window for modifying a language. + long longSelected = -1; int intSelectedData = 0; @@ -500,6 +534,8 @@ void frmContactEditor::ModifyGeneralLanguages( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralLanguage( wxCommandEvent& event ) { + // Bring up the window for deleting a language. + long longSelected = -1; int intSelectedData = 0; @@ -522,6 +558,8 @@ void frmContactEditor::DeleteGeneralLanguage( wxCommandEvent& event ) void frmContactEditor::AddGeneralTimezone( wxCommandEvent& event ) { + // Bring up the window for adding a timezone. + int intResult = 0; frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this ); @@ -545,6 +583,8 @@ void frmContactEditor::AddGeneralTimezone( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralTimezone( wxCommandEvent& event ) { + // Bring up a window for editing a timezone. + long longSelected = -1; int intSelectedData = 0; @@ -575,6 +615,8 @@ void frmContactEditor::ModifyGeneralTimezone( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralTimezone( wxCommandEvent& event ) { + // Bring up the window for deleting a timezone. + long longSelected = -1; int intSelectedData = 0; @@ -598,6 +640,8 @@ void frmContactEditor::DeleteGeneralTimezone( wxCommandEvent& event ) void frmContactEditor::AddGeneralGeoposition( wxCommandEvent& event ) { + // Bring up the window for adding a geoposition location. + int intResult = 0; frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this ); @@ -622,6 +666,8 @@ void frmContactEditor::AddGeneralGeoposition( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralGeoposition( wxCommandEvent& event ) { + // Bring up the window for editing a geoposition location. + long longSelected = -1; int intSelectedData = 0; @@ -655,6 +701,8 @@ void frmContactEditor::ModifyGeneralGeoposition( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralGeoposition( wxCommandEvent& event ) { + // Bring up the window for deleting a geoposition location. + long longSelected = -1; int intSelectedData = 0; @@ -679,6 +727,8 @@ void frmContactEditor::DeleteGeneralGeoposition( wxCommandEvent& event ) void frmContactEditor::AddGeneralRelated( wxCommandEvent& event ) { + // Bring up the window for adding a relation. + int intResult = 0; frmContactEditorRelated *frameCERel = new frmContactEditorRelated ( this ); @@ -702,6 +752,8 @@ void frmContactEditor::AddGeneralRelated( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralRelated( wxCommandEvent& event ) { + // Bring up the window for editing a relation. + long longSelected = -1; int intSelectedData = 0; @@ -733,6 +785,8 @@ void frmContactEditor::ModifyGeneralRelated( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralRelated( wxCommandEvent& event ) { + // Bring up a window for deleting a relation. + long longSelected = -1; int intSelectedData = 0; @@ -756,6 +810,8 @@ void frmContactEditor::DeleteGeneralRelated( wxCommandEvent& event ) void frmContactEditor::AddGeneralWebsite( wxCommandEvent& event ) { + // Bring up a window for adding a website. + int intResult = 0; frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this ); @@ -779,6 +835,8 @@ void frmContactEditor::AddGeneralWebsite( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralWebsite( wxCommandEvent& event ) { + // Bring up a window for editing a website. + long longSelected = -1; int intSelectedData = 0; @@ -810,6 +868,8 @@ void frmContactEditor::ModifyGeneralWebsite( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralWebsite( wxCommandEvent& event ) { + // Bring up a window for deleting a website. + long longSelected = -1; int intSelectedData = 0; @@ -833,6 +893,8 @@ void frmContactEditor::DeleteGeneralWebsite( wxCommandEvent& event ) void frmContactEditor::AddGeneralTitle( wxCommandEvent& event ) { + // Bring up the window for adding a title. + int intResult = 0; frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this ); @@ -856,6 +918,8 @@ void frmContactEditor::AddGeneralTitle( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralTitle( wxCommandEvent& event ) { + // Bring up the window for editing a title. + long longSelected = -1; int intSelectedData = 0; @@ -887,6 +951,8 @@ void frmContactEditor::ModifyGeneralTitle( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralTitle( wxCommandEvent& event ) { + // Bring up the window for deleting a title. + long longSelected = -1; int intSelectedData = 0; @@ -910,6 +976,8 @@ void frmContactEditor::DeleteGeneralTitle( wxCommandEvent& event ) void frmContactEditor::AddGeneralRole( wxCommandEvent& event ) { + // Bring up the window for adding a role. + int intResult = 0; frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this ); @@ -933,6 +1001,8 @@ void frmContactEditor::AddGeneralRole( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralRole( wxCommandEvent& event ) { + // Bring up the window for editing a role. + long longSelected = -1; int intSelectedData = 0; @@ -964,6 +1034,8 @@ void frmContactEditor::ModifyGeneralRole( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralRole( wxCommandEvent& event ) { + // Bring up the window for deleting a role. + long longSelected = -1; int intSelectedData = 0; @@ -987,6 +1059,8 @@ void frmContactEditor::DeleteGeneralRole( wxCommandEvent& event ) void frmContactEditor::AddGeneralOrganisation( wxCommandEvent& event ) { + // Bring up the window for adding an organisation. + int intResult = 0; frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this ); @@ -1011,6 +1085,8 @@ void frmContactEditor::AddGeneralOrganisation( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralOrganisation( wxCommandEvent& event ) { + // Bring up the window for editing an organisation. + long longSelected = -1; int intSelectedData = 0; @@ -1043,6 +1119,8 @@ void frmContactEditor::ModifyGeneralOrganisation( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralOrganisation( wxCommandEvent& event ) { + // Bring up the window for deleting an organisation. + long longSelected = -1; int intSelectedData = 0; @@ -1067,6 +1145,8 @@ void frmContactEditor::DeleteGeneralOrganisation( wxCommandEvent& event ) void frmContactEditor::AddGeneralNote( wxCommandEvent& event ) { + // Bring up the window for adding a note. + int intResult = 0; frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this ); @@ -1090,6 +1170,8 @@ void frmContactEditor::AddGeneralNote( wxCommandEvent& event ) void frmContactEditor::ModifyGeneralNote( wxCommandEvent& event ) { + // Bring up the window for editing a note. + long longSelected = -1; int intSelectedData = 0; @@ -1121,6 +1203,8 @@ void frmContactEditor::ModifyGeneralNote( wxCommandEvent& event ) void frmContactEditor::DeleteGeneralNote( wxCommandEvent& event ) { + // Bring up a window for deleting a note. + long longSelected = -1; int intSelectedData = 0; -- 2.39.5