1 /*************************************************************************** 2 Copyright (C) 2003-2009 Robby Stephenson <robby@periapsis.org> 3 ***************************************************************************/ 4 5 /*************************************************************************** 6 * * 7 * This program is free software; you can redistribute it and/or * 8 * modify it under the terms of the GNU General Public License as * 9 * published by the Free Software Foundation; either version 2 of * 10 * the License or (at your option) version 3 or any later version * 11 * accepted by the membership of KDE e.V. (or its successor approved * 12 * by the membership of KDE e.V.), which shall act as a proxy * 13 * defined in Section 14 of version 3 of the license. * 14 * * 15 * This program is distributed in the hope that it will be useful, * 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 18 * GNU General Public License for more details. * 19 * * 20 * You should have received a copy of the GNU General Public License * 21 * along with this program. If not, see <http://www.gnu.org/licenses/>. * 22 * * 23 ***************************************************************************/ 24 25 #ifndef TRANSLATORS_H 26 #define TRANSLATORS_H 27 28 namespace Tellico { 29 namespace Import { 30 enum Format { 31 TellicoXML = 0, 32 Bibtex, 33 Bibtexml, 34 CSV, 35 XSLT, 36 AudioFile, 37 MODS, 38 Alexandria, 39 FreeDB, 40 RIS, 41 GCstar, 42 FileListing, 43 GRS1, 44 AMC, 45 Griffith, 46 PDF, 47 Referencer, 48 Delicious, 49 Goodreads, 50 CIW, 51 VinoXML, 52 BoardGameGeek, 53 LibraryThing, 54 Collectorz 55 }; 56 57 enum Action { 58 Replace, 59 Append, 60 Merge 61 }; 62 63 enum Target { 64 None, 65 File, 66 Dir 67 }; 68 } 69 70 namespace Export { 71 enum Format { 72 TellicoXML = 0, 73 TellicoZip, 74 Bibtex, 75 Bibtexml, 76 HTML, 77 CSV, 78 XSLT, 79 Text, 80 PilotDB, // Deprecated 81 Alexandria, 82 ONIX, 83 GCstar 84 }; 85 86 enum Target { 87 None, 88 File, 89 Dir 90 }; 91 } 92 } 93 94 #endif 95