diff options
author | Stef <stef@ws.local> | 2003-09-17 18:34:42 +0000 |
---|---|---|
committer | Stef <stef@ws.local> | 2003-09-17 18:34:42 +0000 |
commit | 53914f770f1e1dc1ab4342c64846fd995825b7e6 (patch) | |
tree | 63d14dacbd3d81363fcbea1036c47a0210b0f397 /src/basehandler.cpp | |
parent | 15f3015d2e8305b729d7996faad410b3378497da (diff) |
Initial Import
Diffstat (limited to 'src/basehandler.cpp')
-rw-r--r-- | src/basehandler.cpp | 59 |
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) +{ + +} + |