File indexing completed on 2024-05-12 05:09:31

0001 /***************************************************************************
0002     Copyright (C) 2003-2009 Robby Stephenson <robby@periapsis.org>
0003  ***************************************************************************/
0004 
0005 /***************************************************************************
0006  *                                                                         *
0007  *   This program is free software; you can redistribute it and/or         *
0008  *   modify it under the terms of the GNU General Public License as        *
0009  *   published by the Free Software Foundation; either version 2 of        *
0010  *   the License or (at your option) version 3 or any later version        *
0011  *   accepted by the membership of KDE e.V. (or its successor approved     *
0012  *   by the membership of KDE e.V.), which shall act as a proxy            *
0013  *   defined in Section 14 of version 3 of the license.                    *
0014  *                                                                         *
0015  *   This program is distributed in the hope that it will be useful,       *
0016  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
0017  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
0018  *   GNU General Public License for more details.                          *
0019  *                                                                         *
0020  *   You should have received a copy of the GNU General Public License     *
0021  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
0022  *                                                                         *
0023  ***************************************************************************/
0024 
0025 #ifndef TELLICO_FETCH_H
0026 #define TELLICO_FETCH_H
0027 
0028 namespace Tellico {
0029   namespace Fetch {
0030 
0031 /**
0032  * FetchFirst must be first, and the rest must follow consecutively in value.
0033  * FetchLast must be last!
0034  */
0035 enum FetchKey {
0036   FetchFirst = 0,
0037   Title,
0038   Person,
0039   ISBN,
0040   UPC,
0041   Keyword,
0042   DOI,
0043   ArxivID,
0044   PubmedID,
0045   LCCN,
0046   Raw,
0047   ExecUpdate,
0048   FetchLast
0049 };
0050 
0051 // real ones must start at 0!
0052 enum Type {
0053   Unknown = -1,
0054   Amazon = 0,
0055   IMDB,
0056   Z3950,
0057   SRU,
0058   Entrez,
0059   ExecExternal,
0060   Yahoo, // Removed
0061   AnimeNfo, // Removed
0062   IBS,
0063   ISBNdb,
0064   GCstarPlugin,
0065   CrossRef,
0066   Citebase, // Removed
0067   Arxiv,
0068   Bibsonomy,
0069   GoogleScholar,
0070   Discogs,
0071   WineCom,
0072   TheMovieDB,
0073   MusicBrainz,
0074   GiantBomb,
0075   OpenLibrary,
0076   Multiple,
0077   Freebase, // Removed
0078   DVDFr,
0079   Filmaster,
0080   Douban,
0081   BiblioShare,
0082   MovieMeter,
0083   GoogleBook,
0084   MAS, // Removed
0085   Springer,
0086   Allocine,
0087   ScreenRush, // Removed
0088   FilmStarts, // Removed
0089   SensaCine, // Removed
0090   Beyazperde, // Removed
0091   HathiTrust,
0092   TheGamesDB,
0093   DBLP,
0094   VNDB,
0095   MRLookup,
0096   BoardGameGeek,
0097   Bedetheque,
0098   OMDB,
0099   KinoPoisk,
0100   VideoGameGeek,
0101   DBC,
0102   IGDB,
0103   Kino,
0104   MobyGames,
0105   ComicVine,
0106   KinoTeatr,
0107   Colnect,
0108   Numista,
0109   TVmaze,
0110   UPCItemDb,
0111   TheTVDB,
0112   RPGGeek,
0113   GamingHistory,
0114   FilmAffinity,
0115   Itunes,
0116   OPDS,
0117   ADS,
0118   VGCollect
0119 };
0120 
0121   }
0122 }
0123 
0124 #endif