summaryrefslogtreecommitdiff
path: root/src/backend/filters/bt_thmlhtml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/filters/bt_thmlhtml.h')
-rw-r--r--src/backend/filters/bt_thmlhtml.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/backend/filters/bt_thmlhtml.h b/src/backend/filters/bt_thmlhtml.h
deleted file mode 100644
index 6a220b6..0000000
--- a/src/backend/filters/bt_thmlhtml.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*********
-*
-* This file is part of BibleTime's source code, http://www.bibletime.info/.
-*
-* Copyright 1999-2008 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
-
-// Sword includes:
-#include <swbuf.h>
-#include <thmlhtml.h>
-
-
-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