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 TELLICO_FETCH_H
26 #define TELLICO_FETCH_H
27 
28 namespace Tellico {
29   namespace Fetch {
30 
31 /**
32  * FetchFirst must be first, and the rest must follow consecutively in value.
33  * FetchLast must be last!
34  */
35 enum FetchKey {
36   FetchFirst = 0,
37   Title,
38   Person,
39   ISBN,
40   UPC,
41   Keyword,
42   DOI,
43   ArxivID,
44   PubmedID,
45   LCCN,
46   Raw,
47   ExecUpdate,
48   FetchLast
49 };
50 
51 // real ones must start at 0!
52 enum Type {
53   Unknown = -1,
54   Amazon = 0,
55   IMDB,
56   Z3950,
57   SRU,
58   Entrez,
59   ExecExternal,
60   Yahoo, // Removed
61   AnimeNfo, // Removed
62   IBS,
63   ISBNdb,
64   GCstarPlugin,
65   CrossRef,
66   Citebase, // Removed
67   Arxiv,
68   Bibsonomy,
69   GoogleScholar,
70   Discogs,
71   WineCom,
72   TheMovieDB,
73   MusicBrainz,
74   GiantBomb,
75   OpenLibrary,
76   Multiple,
77   Freebase, // Removed
78   DVDFr,
79   Filmaster,
80   Douban,
81   BiblioShare,
82   MovieMeter,
83   GoogleBook,
84   MAS, // Removed
85   Springer,
86   Allocine,
87   ScreenRush, // Removed
88   FilmStarts, // Removed
89   SensaCine, // Removed
90   Beyazperde, // Removed
91   HathiTrust,
92   TheGamesDB,
93   DBLP,
94   VNDB,
95   MRLookup,
96   BoardGameGeek,
97   Bedetheque,
98   OMDB,
99   KinoPoisk,
100   VideoGameGeek,
101   DBC,
102   IGDB,
103   Kino,
104   MobyGames,
105   ComicVine,
106   KinoTeatr,
107   Colnect,
108   Numista,
109   TVmaze,
110   UPCItemDb,
111   TheTVDB,
112   RPGGeek
113 };
114 
115   }
116 }
117 
118 #endif
119