X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fexport%2Fexport-vcard4.cpp;h=0e99fc478e1f0fa6a8997960d2f5807d063e7ed8;hb=ce18438e729e6c11eebd3a5fb73f4039fdda33a0;hp=e4f79fef42808815bd1d302bacaadbb52af063cd;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/export/export-vcard4.cpp b/source/export/export-vcard4.cpp index e4f79fe..0e99fc4 100644 --- a/source/export/export-vcard4.cpp +++ b/source/export/export-vcard4.cpp @@ -1,3 +1,21 @@ +// export-vcard4.cpp - Export vCard4 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 @@ -5,6 +23,8 @@ void ExportVCard4(bool DirMode, wxString OutputLocation, wxArrayString *FileList, int *ExportCount){ + // Export a vCard 4.0 contact file. + if (DirMode == TRUE){ // Output each contact into the directory. @@ -50,8 +70,6 @@ void ExportVCard4(bool DirMode, wxString OutputLocation, wxArrayString *FileList FinalFilename.Append(Filename); #endif - - bool CopyResult = wxCopyFile(FileList->Item(i), FinalFilename); (*ExportCount)++;