X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fexport%2Fexport.cpp;h=25d5c236de96f4662d630a329b2be4607006143f;hb=ee9b71949005734012f18251774807c38b989ae2;hp=88d8b28dad233fdbabb9c449392d0975d354798e;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/export/export.cpp b/source/export/export.cpp index 88d8b28..25d5c23 100644 --- a/source/export/export.cpp +++ b/source/export/export.cpp @@ -1,20 +1,40 @@ +// export.cpp - Export 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 +#include "export.h" #include "../frmMain.h" #include "export-vcard3.h" #include "export-vcard4.h" void ExportRun(frmMain *frmMainPtrInc, wxArrayString *FileListInc){ + // Run the export function. Bring up the export file save + // dialog and run the required export functions as needed. + frmMainPtrInc->PauseAllTimers(); wxString FileTypes; bool DirMode = FALSE; - long ContactsExported = 0; - long ContactsCollected = 0; int ExportType = 0; int ExportCount = 0; wxString FinalFilename; @@ -82,7 +102,6 @@ void ExportRun(frmMain *frmMainPtrInc, wxArrayString *FileListInc){ // were exported. wxMessageBox(wxString::Format(_("%i contacts exported."), ExportCount), _("Contacts exported")); - //wxMessageBox(_("Selected contacts have been exported."), _("Contacts exported")); frmMainPtrInc->ResumeAllTimers();