X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fexport%2Fexport.cpp;h=8c9cc2d3bbe8abcc663e898c6ec3899d1c70e031;hb=9ca4d140bb72a11559ac1fecc835ca557b1f3ec6;hp=88d8b28dad233fdbabb9c449392d0975d354798e;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/export/export.cpp b/source/export/export.cpp index 88d8b28..8c9cc2d 100644 --- a/source/export/export.cpp +++ b/source/export/export.cpp @@ -1,3 +1,21 @@ +// 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 @@ -8,13 +26,14 @@ 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 +101,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();