Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/dvilib/dl-dvi-parser.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dvi/dvilib/dl-dvi-parser.hh')
-rwxr-xr-xdvi/dvilib/dl-dvi-parser.hh35
1 files changed, 35 insertions, 0 deletions
diff --git a/dvi/dvilib/dl-dvi-parser.hh b/dvi/dvilib/dl-dvi-parser.hh
new file mode 100755
index 0000000..32e065f
--- /dev/null
+++ b/dvi/dvilib/dl-dvi-parser.hh
@@ -0,0 +1,35 @@
+#ifndef DL_DVI_PARSER_HH
+#define DL_DVI_PARSER_HH
+
+#include "dl-loader.hh"
+#include "dl-refcounted.hh"
+#include "dl-dvi-program.hh"
+#include "dl-dvi-fontdefinition.hh"
+#include "dl-dvi-file.hh"
+#include "dl-vffont.hh"
+
+namespace DviLib {
+
+ class DviParser : public RefCounted {
+ AbstractLoader& loader;
+ public:
+ DviParser (AbstractLoader& l) : loader (l)
+ {
+ };
+
+ DviFontdefinition * parse_fontdefinition (void);
+ DviProgram * parse_program (void);
+ DviProgram * parse_program (uint max);
+ DviPageHeader * parse_page_header (uint *prev_page);
+ DviFilePreamble * parse_preamble (void);
+ DviFilePostamble * parse_postamble (void);
+ VfFontPreamble * parse_vf_font_preamble (void);
+ VfChar * parse_vf_char (void);
+
+ ~DviParser (void)
+ {
+ };
+ };
+}
+
+#endif