diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-11-04 15:25:17 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-11-04 15:25:17 +0100 |
commit | ee6263e6d4c07359f579ef5530c5356bfd9724a5 (patch) | |
tree | 93e6d4140003fdc556c9a118f7f9c02b9f9c1613 /src/lib/VSD6Parser.h | |
parent | 410f564d9a728b983cf11ba9b3eadfc7d59c187c (diff) |
trying to move libvisio to librevenge API
Change-Id: I6a17a8e0e435b4de87e0017bddb5d16f6b1a543d
Diffstat (limited to 'src/lib/VSD6Parser.h')
-rw-r--r-- | src/lib/VSD6Parser.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/VSD6Parser.h b/src/lib/VSD6Parser.h index dd7663b..50c5859 100644 --- a/src/lib/VSD6Parser.h +++ b/src/lib/VSD6Parser.h @@ -33,8 +33,7 @@ #include <stdio.h> #include <iostream> -#include <libwpd/libwpd.h> -#include <libwpg/libwpg.h> +#include <librevenge/librevenge.h> #include "VSDParser.h" #include "VSDInternalStream.h" @@ -44,18 +43,18 @@ namespace libvisio class VSD6Parser : public VSDParser { public: - explicit VSD6Parser(WPXInputStream *input, libwpg::WPGPaintInterface *painter); + explicit VSD6Parser(RVNGInputStream *input, RVNGDrawingInterface *painter); ~VSD6Parser(); protected: - virtual bool getChunkHeader(WPXInputStream *input); + virtual bool getChunkHeader(RVNGInputStream *input); private: - void readText(WPXInputStream *input); - virtual void readCharIX(WPXInputStream *input); - virtual void readParaIX(WPXInputStream *input); - virtual void readFillAndShadow(WPXInputStream *input); - virtual void readName(WPXInputStream *input); - virtual void readName2(WPXInputStream *input); - virtual void readTextField(WPXInputStream *input); + void readText(RVNGInputStream *input); + virtual void readCharIX(RVNGInputStream *input); + virtual void readParaIX(RVNGInputStream *input); + virtual void readFillAndShadow(RVNGInputStream *input); + virtual void readName(RVNGInputStream *input); + virtual void readName2(RVNGInputStream *input); + virtual void readTextField(RVNGInputStream *input); VSD6Parser(); VSD6Parser(const VSDParser &); |