1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3
* This file is part of the libe-book project.
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
#ifndef EPUBTOKEN_H_INCLUDED
11
#define EPUBTOKEN_H_INCLUDED
13
#include <boost/static_assert.hpp>
15
#include "EBOOKToken.h"
26
FIRST_TOKEN = EBOOKToken<EPUBParser>::FIRST_TOKEN,
52
BOOST_STATIC_ASSERT(EBOOKToken<EPUBParser>::LAST_TOKEN >= LAST_TOKEN);
56
NS_container = container << 16,
58
NS_xmlns = xmlns << 16
63
int getEPUBTokenId(const char *name, const char *ns = 0);
64
int getEPUBTokenId(const char *name, std::size_t nameLen, const char *ns, std::size_t nsLen);
65
int getEPUBTokenId(const char *name, std::size_t nameLen);
69
#endif // EPUBTOKEN_H_INCLUDED
71
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */