Added version info to 16-bit shell.dll.
[wine/multimedia.git] / tools / wrc / wrc.h
blobde19d5263859dd61fbd7ec5486ff29d8e61b4739
1 /*
2 * Main definitions and externals
4 * Copyright 1998 Bertho A. Stultiens (BS)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WRC_WRC_H
22 #define __WRC_WRC_H
24 #ifndef __WRC_WRCTYPES_H
25 #include "wrctypes.h"
26 #endif
28 #include <time.h> /* For time_t */
30 #define WRC_MAJOR_VERSION 1
31 #define WRC_MINOR_VERSION 1
32 #define WRC_MICRO_VERSION 9
33 #define WRC_RELEASEDATE "(31-Dec-2000)"
35 #define WRC_STRINGIZE(a) #a
36 #define WRC_EXP_STRINGIZE(a) WRC_STRINGIZE(a)
37 #define WRC_VERSIONIZE(a,b,c) WRC_STRINGIZE(a) "." WRC_STRINGIZE(b) "." WRC_STRINGIZE(c)
38 #define WRC_VERSION WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
39 #define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
41 /* From wrc.c */
42 extern int debuglevel;
43 #define DEBUGLEVEL_NONE 0x0000
44 #define DEBUGLEVEL_CHAT 0x0001
45 #define DEBUGLEVEL_DUMP 0x0002
46 #define DEBUGLEVEL_TRACE 0x0004
47 #define DEBUGLEVEL_PPMSG 0x0008
48 #define DEBUGLEVEL_PPLEX 0x0010
49 #define DEBUGLEVEL_PPTRACE 0x0020
51 extern int win32;
52 extern int constant;
53 extern int create_res;
54 extern int extensions;
55 extern int binary;
56 extern int create_header;
57 extern int create_dir;
58 extern int global;
59 extern int indirect;
60 extern int indirect_only;
61 extern int alignment;
62 extern int alignment_pwr;
63 extern int create_s;
64 extern DWORD codepage;
65 extern int pedantic;
66 extern int auto_register;
67 extern int leave_case;
68 extern int byteorder;
69 extern int preprocess_only;
70 extern int no_preprocess;
71 extern int remap;
73 extern char *prefix;
74 extern char *output_name;
75 extern char *input_name;
76 extern char *header_name;
77 extern char *cmdline;
78 extern time_t now;
80 extern int line_number;
81 extern int char_number;
83 extern resource_t *resource_top;
84 extern language_t *currentlanguage;
86 #endif