X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=inline;f=source%2Fimport%2Fimport.cpp;h=ed92080255f85cd11682c32b5658d94c967da9d3;hb=ef80b7d71f4772d3ab734da6b32a2c3508ce85e8;hp=71decf0f03f12c4f10b777c4534d0d6f86134d7b;hpb=45aff551ea38ed919be2cf5255a45d24291a906a;p=xestiaab%2F.git
diff --git a/source/import/import.cpp b/source/import/import.cpp
index 71decf0..ed92080 100644
--- a/source/import/import.cpp
+++ b/source/import/import.cpp
@@ -1,3 +1,21 @@
+// import.cpp - Import subroutines.
+//
+// (c) 2012-2015 Xestia Software Development.
+//
+// This file is part of Xestia Address Book.
+//
+// Xestia Address Book is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Address Book is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Address Book. If not, see
+
#include
#include
#include
@@ -23,8 +41,6 @@ void ImportRun(frmMain *frmMainPtrInc){
wxString FileTypes;
- long ContactsImported = 0;
- long ContactsCollected = 0;
int ImportType = 0;
wxString FinalFilename;
wxArrayString SelectedFileList;
@@ -114,7 +130,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;
@@ -147,7 +163,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