/[public]/psiconv/trunk/program/psiconv/psiconv.h
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/psiconv.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 191 Revision 192
21#define PSICONV_H 21#define PSICONV_H
22 22
23#include <psiconv/data.h> 23#include <psiconv/data.h>
24#include <psiconv/configuration.h> 24#include <psiconv/configuration.h>
25 25
26#define FORMAT_WORD 0x01
27#define FORMAT_TEXTED 0x02
28#define FORMAT_CLIPART_SINGLE 0x04
29#define FORMAT_CLIPART_MULTIPLE 0x08
30#define FORMAT_MBM_SINGLE 0x10
31#define FORMAT_MBM_MULTIPLE 0x20
32#define FORMAT_SKETCH 0x40
33
26typedef enum 34typedef enum
27{ 35{
28 ENCODING_UTF8, 36 ENCODING_UTF8,
29 ENCODING_UCS2, 37 ENCODING_UCS2,
30 ENCODING_PSION, 38 ENCODING_PSION,
31 ENCODING_ASCII 39 ENCODING_ASCII,
40 ENCODING_ASCII_HTML
32} encoding; 41} encoding;
33 42
34typedef int output_function(const psiconv_config config, 43typedef int output_function(const psiconv_config config,
35 psiconv_list list, const psiconv_file file, 44 psiconv_list list, const psiconv_file file,
36 const char *type, 45 const char *type,
37 const encoding encoding_type); 46 const encoding encoding_type);
38 47
39typedef struct fileformat_s { 48typedef struct fileformat_s {
40 const char *name; 49 const char *name;
41 const char *description; 50 const char *description;
51 int supported_format;
42 output_function *output; 52 output_function *output;
43} *fileformat; 53} *fileformat;
44 54
45psiconv_list fileformat_list; /* of struct psiconv_fileformat */ 55psiconv_list fileformat_list; /* of struct psiconv_fileformat */
46 56

Legend:
Removed from v.191  
changed lines
  Added in v.192

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26