- Implemented animated cursors and icons resource types.
[wine] / tools / wrc / wrc.h
1 /*
2  * Main definitions and externals
3  *
4  * Copyright 1998 Bertho A. Stultiens (BS)
5  *
6  */
7
8 #ifndef __WRC_WRC_H
9 #define __WRC_WRC_H
10
11 #ifndef __WRC_WRCTYPES_H
12 #include "wrctypes.h"
13 #endif
14
15 #include <time.h>       /* For time_t */
16
17 #define WRC_MAJOR_VERSION       1
18 #define WRC_MINOR_VERSION       1
19 #define WRC_MICRO_VERSION       3
20 #define WRC_RELEASEDATE         "(21-May-2000)"
21
22 #define WRC_STRINGIZE(a)        #a
23 #define WRC_VERSIONIZE(a,b,c)   WRC_STRINGIZE(a) "." WRC_STRINGIZE(b) "." WRC_STRINGIZE(c)  
24 #define WRC_VERSION             WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
25 #define WRC_FULLVERSION         WRC_VERSION " " WRC_RELEASEDATE
26
27
28 /* From wrc.c */
29 extern int debuglevel;
30 #define DEBUGLEVEL_NONE         0x0000
31 #define DEBUGLEVEL_CHAT         0x0001
32 #define DEBUGLEVEL_DUMP         0x0002
33 #define DEBUGLEVEL_TRACE        0x0004
34 #define DEBUGLEVEL_PPMSG        0x0008
35 #define DEBUGLEVEL_PPLEX        0x0010
36 #define DEBUGLEVEL_PPTRACE      0x0020
37
38 extern int win32;
39 extern int constant;
40 extern int create_res;
41 extern int extensions;
42 extern int binary;
43 extern int create_header;
44 extern int create_dir;
45 extern int global;
46 extern int indirect;
47 extern int indirect_only;
48 extern int alignment;
49 extern int alignment_pwr;
50 extern int create_s;
51 extern DWORD codepage;
52 extern int pedantic;
53 extern int auto_register;
54 extern int leave_case;
55 extern int byteorder;
56 extern int preprocess_only;
57 extern int no_preprocess;
58
59 extern char *prefix;
60 extern char *output_name;
61 extern char *input_name;
62 extern char *header_name;
63 extern char *cmdline;                   
64 extern time_t now;
65
66 extern int line_number;
67 extern int char_number;
68
69 extern resource_t *resource_top;
70 extern language_t *currentlanguage;
71
72 #endif