00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _ARABICPARSER_HPP
00013 #define _ARABICPARSER_HPP
00014
00015 #include "Parser.hpp"
00016 #include "TextHandler.hpp"
00017
00018
00023 class ArabicParser : public Parser {
00024
00025 public:
00026 static const string identifier;
00027
00028 ArabicParser();
00029
00031 void parseFile (const string &filename);
00032
00034 void parseBuffer (char * buf, int len);
00035
00038 long fileTell() const;
00039
00040 private:
00042 void doParse();
00044 int state;
00045 };
00046
00047 #endif