EBOOK-TOOLS
epub_shared.h
Go to the documentation of this file.
1 #ifndef EPUB_SHARED_H
2 #define EPUB_SHARED_H 1
3 
4 #ifdef _WIN32
5 # ifdef epub_EXPORTS
6 # define EPUB_EXPORT __declspec(dllexport)
7 # else
8 # define EPUB_EXPORT __declspec(dllimport)
9 # endif
10 #else
11 # define EPUB_EXPORT
12 #endif
13 
14 /**
15  Metadata types
16  */
18  EPUB_ID, /**< ebook id*/
19  EPUB_TITLE, /**< ebook title*/
20  EPUB_CREATOR, /**< ebook creator*/
21  EPUB_CONTRIB, /**< ebook contributor*/
22  EPUB_SUBJECT, /**< ebook subject*/
23  EPUB_PUBLISHER, /**< ebook publisher*/
24  EPUB_DESCRIPTION, /**< ebook description*/
25  EPUB_DATE, /**< ebook data */
26  EPUB_TYPE, /**< ebook type */
27  EPUB_FORMAT, /**< ebook format */
28  EPUB_SOURCE, /**< ebook source */
29  EPUB_LANG, /**< ebook language */
30  EPUB_RELATION, /**< ebook relation*/
31  EPUB_COVERAGE, /**< ebook coverage*/
32  EPUB_RIGHTS,/**< ebook rights */
33  EPUB_META /**< ebook extra metadata*/
34 };
35 
36 /**
37  Ebook Iterator types
38 */
40  EITERATOR_SPINE, /**< all the spine */
41  EITERATOR_LINEAR, /**< the linear reading spine parts */
42  EITERATOR_NONLINEAR /**< the non linear reading spine parts */
43  /* EITERATOR_TOUR */
44 };
45 
46 /**
47  Ebook Table Of Content Iterator types
48 */
50  TITERATOR_NAVMAP, /**< Navigation map */
51  TITERATOR_GUIDE, /**< Guide to the ebook parts */
52  TITERATOR_PAGES /**< The pages of the ebook */
53 };
54 
55 #endif