epub_shared.h

Go to the documentation of this file.
00001 #ifndef EPUB_SHARED_H
00002 #define EPUB_SHARED_H 1
00003 
00004 #ifdef _WIN32
00005 # ifdef epub_EXPORTS
00006 #  define EPUB_EXPORT __declspec(dllexport)
00007 # else
00008 #  define EPUB_EXPORT __declspec(dllimport)
00009 # endif
00010 #else
00011 # define EPUB_EXPORT
00012 #endif
00013 
00014 /**
00015    Metadata types
00016  */
00017 enum epub_metadata {
00018   EPUB_ID, /**< ebook id*/ 
00019   EPUB_TITLE, /**< ebook title*/ 
00020   EPUB_CREATOR, /**< ebook creator*/ 
00021   EPUB_CONTRIB, /**< ebook contributor*/ 
00022   EPUB_SUBJECT, /**< ebook subject*/ 
00023   EPUB_PUBLISHER, /**< ebook publisher*/   
00024   EPUB_DESCRIPTION, /**< ebook description*/ 
00025   EPUB_DATE, /**< ebook data */ 
00026   EPUB_TYPE, /**< ebook type */ 
00027   EPUB_FORMAT, /**< ebook format */  
00028   EPUB_SOURCE, /**< ebook source */ 
00029   EPUB_LANG, /**<  ebook language */ 
00030   EPUB_RELATION, /**< ebook relation*/  
00031   EPUB_COVERAGE, /**< ebook coverage*/ 
00032   EPUB_RIGHTS,/**< ebook rights */ 
00033   EPUB_META /**< ebook extra metadata*/ 
00034 };
00035 
00036 /**
00037    Ebook Iterator types
00038 */
00039 enum eiterator_type {
00040   EITERATOR_SPINE, /**< all the spine */  
00041   EITERATOR_LINEAR, /**< the linear reading spine parts */
00042   EITERATOR_NONLINEAR /**< the non linear reading spine parts */
00043   /*  EITERATOR_TOUR */
00044 };
00045 
00046 /**
00047    Ebook Table Of Content Iterator types
00048 */
00049 enum titerator_type {
00050   TITERATOR_NAVMAP, /**< Navigation map  */
00051   TITERATOR_GUIDE, /**< Guide to the ebook parts */
00052   TITERATOR_PAGES /**< The pages of the ebook */
00053 };
00054 
00055 #endif