1 /* AbiWord 2 * Copyright (C) 2001 Dom Lachowicz 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 * 02110-1301 USA. 18 */ 19 20 #ifndef IE_EXP_EML_H 21 #define IE_EXP_EML_H 22 23 #include "ie_exp_Text.h" 24 25 class IE_Exp_EML : public IE_Exp_Text 26 { 27 public: 28 IE_Exp_EML(PD_Document * pDocument); 29 virtual ~IE_Exp_EML(); 30 protected: 31 virtual UT_Error _writeDocument(void); 32 }; 33 34 class IE_Exp_EML_Sniffer : public IE_ExpSniffer 35 { 36 public: 37 IE_Exp_EML_Sniffer (); 38 bool recognizeSuffix(const char * szSuffix); 39 UT_Error constructExporter(PD_Document * pDocument, IE_Exp ** ppie); 40 bool getDlgLabels(const char ** pszDesc, const char ** pszSuffixList, IEFileType * ft); 41 }; 42 43 #endif 44