/* AbiWord
 * Copyright (C) 1998 AbiSource, Inc.
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  
 * 02111-1307, USA.
 */

#ifndef IE_TYPES_H
#define IE_TYPES_H


// These have been replaced with error codes.
/* typedef enum _IEStatus { IES_OK,
						 IES_Error,
						 IES_FileNotFound,
						 IES_NoMemory,
						 IES_UnknownType,
						 IES_BogusDocument,
						 IES_CouldNotOpenForWriting,
						 IES_CouldNotWriteToFile } IEStatus;
*/

/*
  NOTE:  File filters can support one or MORE of the following
  NOTE:  file types.  However, each of these file types can be
  NOTE:  handled by only ONE filter.  So, the number of file types
  NOTE:  supported by all the filters combined should be equal
  NOTE:  to (or less than) the number below.
*/
typedef enum _IEFileType { IEFT_Unknown,
						   IEFT_AbiWord_1,
						   IEFT_GZipAbiWord,
						   IEFT_MsWord_97,
						   IEFT_HTML,		  
						   IEFT_RTF,
						   IEFT_Text,
						   IEFT_UTF8,
						   IEFT_LaTeX,
						   IEFT_PalmDoc,
						   IEFT_RTF_attic,
			                           IEFT_WML,
			                           IEFT_XHTML,
			                           IEFT_DocBook,
                           IEFT_MSWrite,
                           IEFT_ClarisWorks,
						   IEFT_Psion_TextEd,
						   IEFT_Psion_Word,
			   IEFT_EBOOK,
			   IEFT_APPLIX,
			   IEFT_MIF,
						   IEFT_LAST_BOGUS } IEFileType;

typedef enum _IEGraphicFileType { IEGFT_Unknown,
								  IEGFT_PNG,
								  IEGFT_SVG,
   								  IEGFT_PICT,
   								  IEGFT_WMF,
   								  IEGFT_GIF,
   								  IEGFT_JPEG,
   								  IEGFT_BMP,
   								  IEGFT_DIB,
								  IEGFT_LAST_BOGUS } IEGraphicFileType;

#endif /* IE_TYPES_H */
