--- psiconv/trunk/program/psiconv/psiconv.h 2004/01/09 22:20:03 185 +++ psiconv/trunk/program/psiconv/psiconv.h 2004/02/04 12:19:09 196 @@ -1,6 +1,6 @@ /* psiconv.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999 Frodo Looijaard + Copyright (c) 1999-2004 Frodo Looijaard 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 @@ -23,12 +23,21 @@ #include #include +#define FORMAT_WORD 0x01 +#define FORMAT_TEXTED 0x02 +#define FORMAT_CLIPART_SINGLE 0x04 +#define FORMAT_CLIPART_MULTIPLE 0x08 +#define FORMAT_MBM_SINGLE 0x10 +#define FORMAT_MBM_MULTIPLE 0x20 +#define FORMAT_SKETCH 0x40 + typedef enum { ENCODING_UTF8, ENCODING_UCS2, ENCODING_PSION, - ENCODING_ASCII + ENCODING_ASCII, + ENCODING_ASCII_HTML } encoding; typedef int output_function(const psiconv_config config, @@ -39,6 +48,7 @@ typedef struct fileformat_s { const char *name; const char *description; + int supported_format; output_function *output; } *fileformat;