Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef FB2PARSER_H_INCLUDED
00018 #define FB2PARSER_H_INCLUDED
00019
00020 class WPXDocumentInterface;
00021 class WPXInputStream;
00022
00023 namespace libebook
00024 {
00025
00026 class FB2XMLParserContext;
00027
00028 class FB2Parser
00029 {
00030
00031 FB2Parser(const FB2Parser &other);
00032 FB2Parser &operator=(const FB2Parser &other);
00033
00034 public:
00035 explicit FB2Parser(WPXInputStream *input);
00036
00037 bool parse(FB2XMLParserContext *context) const;
00038 bool parse(WPXDocumentInterface *document) const;
00039
00040 private:
00041 WPXInputStream *const m_input;
00042 };
00043
00044 }
00045
00046 #endif // FB2PARSER_H_INCLUDED
00047
00048