X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fimport%2Fimport.cpp;h=efd701abba2b032aba766fd6cf57388a0cbd29f0;hp=aee7f58fd2f4b9ae26c3434dab307d35e15d72e7;hb=489a00fb00fd55715bb61dcb2a6d4b9575d45be1;hpb=16e00f0a40d6b9261542eb597c02ac78daab3777 diff --git a/source/import/import.cpp b/source/import/import.cpp index aee7f58..efd701a 100644 --- a/source/import/import.cpp +++ b/source/import/import.cpp @@ -23,6 +23,7 @@ #include #include +#include "import.h" #include "import-vcard3.h" #include "import-vcard4.h" #include "import-struct.h" @@ -41,8 +42,6 @@ void ImportRun(frmMain *frmMainPtrInc){ wxString FileTypes; - long ContactsImported = 0; - long ContactsCollected = 0; int ImportType = 0; wxString FinalFilename; wxArrayString SelectedFileList; @@ -132,7 +131,7 @@ void ImportRun(frmMain *frmMainPtrInc){ delete frmIC; frmIC = NULL; - // Import the contacts into the selected account. + // Import the contacts into the selected account. int ImportCount = 0; int ImportSeek = 0; @@ -165,7 +164,7 @@ void ImportRun(frmMain *frmMainPtrInc){ if (iter->second.ContactSelected == TRUE){ - // Workout the file name. void CloseWindow( wxCommandEvent& event ); + // Workout the file name. // Get the UID value and check if it is empty. // If it isn't empty, check it can be used for a valid // filename other wise generate a file name for the purposes