summaryrefslogtreecommitdiff
path: root/src/lib/WT602Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/WT602Parser.h')
-rw-r--r--src/lib/WT602Parser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/WT602Parser.h b/src/lib/WT602Parser.h
index be946c1..2065c6f 100644
--- a/src/lib/WT602Parser.h
+++ b/src/lib/WT602Parser.h
@@ -17,11 +17,11 @@
#ifndef WT602PARSER_H_INCLUDED
#define WT602PARSER_H_INCLUDED
+#include <librevenge/librevenge.h>
+
#include "libtext602_utils.h"
#include "WT602Header.h"
-class WPXDocumentInterface;
-
namespace libtext602
{
@@ -75,19 +75,19 @@ class WT602Parser
WT602Parser &operator=(const WT602Parser &other);
public:
- WT602Parser(WPXInputStream *input, WPXDocumentInterface *document);
+ WT602Parser(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document);
bool parse();
private:
void readText();
- WPXInputStreamPtr getSection(WT602Section section) const;
+ RVNGInputStreamPtr getSection(WT602Section section) const;
private:
WT602Header m_header;
- WPXInputStream *m_input;
- WPXDocumentInterface *m_document;
+ librevenge::RVNGInputStream *m_input;
+ librevenge::RVNGTextInterface *m_document;
shared_ptr<WT602SectionMap> m_sectionMap;
};