diff options
Diffstat (limited to 'bibletime/backend/bt_thmlhtml.h')
-rw-r--r-- | bibletime/backend/bt_thmlhtml.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/bibletime/backend/bt_thmlhtml.h b/bibletime/backend/bt_thmlhtml.h deleted file mode 100644 index e5ac614..0000000 --- a/bibletime/backend/bt_thmlhtml.h +++ /dev/null @@ -1,56 +0,0 @@ -/********* -* -* This file is part of BibleTime's source code, http://www.bibletime.info/. -* -* Copyright 1999-2006 by the BibleTime developers. -* The BibleTime source code is licensed under the GNU General Public License version 2.0. -* -**********/ - - - -#ifndef BT_THMLHTML_H -#define BT_THMLHTML_H - -#include <swbuf.h> -#include <thmlhtml.h> - -using sword::SWBuf; - -namespace Filters { - - /** ThML to HTML filter. - * This filter converts ThML text to HTML text - */ - -class BT_ThMLHTML : public sword::ThMLHTML { - -protected: - -class BT_UserData : public sword::ThMLHTML::MyUserData { - -public: -BT_UserData(const sword::SWModule *module, const sword::SWKey *key) : sword::ThMLHTML::MyUserData(module, key) { - inscriptRef = false; - swordFootnote = 1; - inFootnoteTag = false; - } - - bool inscriptRef; - bool inFootnoteTag; - unsigned short int swordFootnote; - }; - - virtual sword::BasicFilterUserData *createUserData(const sword::SWModule* module, const sword::SWKey* key) { - return new BT_UserData(module, key); - } - -public: - BT_ThMLHTML (); - virtual bool handleToken(sword::SWBuf &buf, const char *token, sword::BasicFilterUserData *userData); - virtual char processText(sword::SWBuf& buf, const sword::SWKey*, const sword::SWModule * = 0); - }; - -} - -#endif |