/* Copyright 2014 the SumatraPDF project authors (see AUTHORS file).
   License: GPLv3 */

#ifndef EbookBase_h
#define EbookBase_h

// needed for enum DocumentProperty
#include "BaseEngine.h"

// this is a collection of structs and classes that are
// useful for more than one ebook format

struct ImageData {
    char *      data;
    size_t      len;
};

class EbookTocVisitor {
public:
    virtual void Visit(const WCHAR *name, const WCHAR *url, int level) = 0;
    virtual ~EbookTocVisitor() { }
};

#endif
