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