summaryrefslogtreecommitdiff
path: root/src/lib/WinText602Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/WinText602Parser.h')
-rw-r--r--src/lib/WinText602Parser.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/WinText602Parser.h b/src/lib/WinText602Parser.h
index dee476c..0d69a87 100644
--- a/src/lib/WinText602Parser.h
+++ b/src/lib/WinText602Parser.h
@@ -10,11 +10,7 @@
#ifndef INCLUDED_WINTEXT602PARSER_H
#define INCLUDED_WINTEXT602PARSER_H
-#include <boost/shared_ptr.hpp>
-
-#include <librevenge/librevenge.h>
-
-#include "libsw602_utils.h"
+#include "SW602Parser.h"
#include "WinText602Header.h"
namespace libsw602
@@ -63,16 +59,16 @@ enum WinText602Section
class WinText602SectionMap;
-class WinText602Parser
+class WinText602Parser : public SW602TextParser
{
- // -Weffc++
+ // disable copying
WinText602Parser(const WinText602Parser &other);
WinText602Parser &operator=(const WinText602Parser &other);
public:
- WinText602Parser(boost::shared_ptr<librevenge::RVNGInputStream> input, librevenge::RVNGTextInterface *document);
+ explicit WinText602Parser(boost::shared_ptr<librevenge::RVNGInputStream> input);
- bool parse();
+ virtual void parse(librevenge::RVNGTextInterface *documentInterface);
private:
void readText();