summaryrefslogtreecommitdiff
path: root/src/basehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/basehandler.cpp')
-rw-r--r--src/basehandler.cpp59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/basehandler.cpp b/src/basehandler.cpp
new file mode 100644
index 0000000..02c79c1
--- /dev/null
+++ b/src/basehandler.cpp
@@ -0,0 +1,59 @@
+// BaseHandler.cpp: implementation of the BaseHandler class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#include "stdafx.h"
+#include "BaseHandler.h"
+
+//////////////////////////////////////////////////////////////////////
+// Construction/Destruction
+//////////////////////////////////////////////////////////////////////
+
+BaseHandler::BaseHandler()
+{
+ m_reader = NULL;
+}
+
+BaseHandler::~BaseHandler()
+{
+ clear();
+}
+
+void BaseHandler::clear()
+{
+ m_reader = NULL;
+}
+
+void BaseHandler::startDocument(RtfReader* reader)
+{
+ clear();
+ m_reader = reader;
+}
+
+void BaseHandler::endDocument()
+{
+ // We leave document and levels here so it they
+ // can be accessed later
+ m_reader = NULL;
+}
+
+void BaseHandler::controlWord(const string& cw, int flags, int param)
+{
+
+}
+
+void BaseHandler::groupStart()
+{
+
+}
+
+void BaseHandler::groupEnd()
+{
+
+}
+
+void BaseHandler::charData(wstring data)
+{
+
+}
+