• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ie_imp_EPUB_Sniffer.h

Go to the documentation of this file.
00001 /* AbiSource
00002  *
00003  * Copyright (C) 2011 Volodymyr Rudyj <vladimir.rudoy@gmail.com>
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
00019  */
00020 
00021 #ifndef IE_IMP_EPUB_SNIFFER_H_
00022 #define IE_IMP_EPUB_SNIFFER_H_
00023 
00024 #include <gsf/gsf-infile-zip.h>
00025 #include <gsf/gsf-infile.h>
00026 #include <gsf/gsf-libxml.h>
00027 
00028 #include "ie_imp.h"
00029 #include "ie_imp_EPUB.h"
00030 
00031 class IE_Imp_EPUB_Sniffer: public IE_ImpSniffer
00032 {
00033 public:
00034     IE_Imp_EPUB_Sniffer();
00035 
00036     virtual ~IE_Imp_EPUB_Sniffer();
00037 
00038     virtual const IE_SuffixConfidence * getSuffixConfidence();
00039 
00040     virtual const IE_MimeConfidence * getMimeConfidence();
00041 
00042     virtual UT_Confidence_t recognizeContents(GsfInput * input);
00043 
00044     virtual UT_Error constructImporter(PD_Document * pDocument, IE_Imp ** ppie);
00045 
00046     virtual bool getDlgLabels(const char ** szDesc, const char ** szSuffixList,
00047             IEFileType * ft);
00048 };
00049 
00050 #endif /* IE_IMP_EPUB_SNIFFER_H_ */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1