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

ie_imp_OpenDocument_Sniffer.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 
00003 /* AbiSource
00004  *
00005  * Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com>
00006  * Copyright (C) 2004 Robert Staudinger <robsta@stereolyzer.net>
00007  * Copyright (C) 2005 Daniel d'Andrada T. de Carvalho
00008  * <daniel.carvalho@indt.org.br>
00009  *
00010  * This program is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU General Public License
00012  * as published by the Free Software Foundation; either version 2
00013  * of the License, or (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00023  * 02110-1301 USA.
00024  */
00025 
00026 #ifndef _IE_IMP_OPENDOCUMENTSNIFFER_H_
00027 #define _IE_IMP_OPENDOCUMENTSNIFFER_H_
00028 
00029 #include <ie_imp.h>
00030 
00031 class IE_Imp_OpenDocument_Sniffer : public IE_ImpSniffer
00032 {
00033 public:
00034   IE_Imp_OpenDocument_Sniffer () ;
00035 
00036   virtual ~IE_Imp_OpenDocument_Sniffer ();
00037 
00038   virtual const IE_SuffixConfidence * getSuffixConfidence ();
00039   virtual const IE_MimeConfidence * getMimeConfidence ();
00040   virtual UT_Confidence_t recognizeContents (GsfInput * input);
00041 
00042   virtual UT_Error constructImporter (PD_Document * pDocument,
00043                       IE_Imp ** ppie) ;
00044 
00045   virtual bool getDlgLabels (const char ** szDesc,
00046                  const char ** szSuffixList,
00047                  IEFileType * ft) ;
00048 };
00049 
00050 #endif //_IE_IMP_OPENDOCUMENTSNIFFER_H_

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1