Removed client-side wait functions; all waiting is now done through
[wine/multimedia.git] / tools / wrc / wrc.h
blob1201c6c78230b465b7e8aafb8722e2be0d892077
1 /*
2 * Main definitions and externals
4 * Copyright 1998 Bertho A. Stultiens (BS)
6 */
8 #ifndef __WRC_WRC_H
9 #define __WRC_WRC_H
11 #ifndef __WRC_WRCTYPES_H
12 #include "wrctypes.h"
13 #endif
15 #define WRC_VERSION "1.0.4"
16 #define WRC_RELEASEDATE "(10-Dec-1998)"
17 #define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
19 /* Only used in heavy debugging sessions */
20 #define HEAPCHECK()
22 /* Memory/load flags */
23 #define WRC_MO_MOVEABLE 0x0010
24 #define WRC_MO_PURE 0x0020
25 #define WRC_MO_PRELOAD 0x0040
26 #define WRC_MO_DISCARDABLE 0x1000
28 /* Resource type IDs */
29 #define WRC_RT_CURSOR (1)
30 #define WRC_RT_BITMAP (2)
31 #define WRC_RT_ICON (3)
32 #define WRC_RT_MENU (4)
33 #define WRC_RT_DIALOG (5)
34 #define WRC_RT_STRING (6)
35 #define WRC_RT_FONTDIR (7)
36 #define WRC_RT_FONT (8)
37 #define WRC_RT_ACCELERATOR (9)
38 #define WRC_RT_RCDATA (10)
39 #define WRC_RT_MESSAGETABLE (11)
40 #define WRC_RT_GROUP_CURSOR (12)
41 #define WRC_RT_GROUP_ICON (14)
42 #define WRC_RT_VERSION (16)
43 #define WRC_RT_DLGINCLUDE (17)
44 #define WRC_RT_PLUGPLAY (19)
45 #define WRC_RT_VXD (20)
46 #define WRC_RT_ANICURSOR (21)
47 #define WRC_RT_ANIICON (22)
49 /* Default class type IDs */
50 #define CT_BUTTON 0x80
51 #define CT_EDIT 0x81
52 #define CT_STATIC 0x82
53 #define CT_LISTBOX 0x83
54 #define CT_SCROLLBAR 0x84
55 #define CT_COMBOBOX 0x85
57 /* From wrc.c */
58 extern int debuglevel;
59 #define DEBUGLEVEL_NONE 0x0000
60 #define DEBUGLEVEL_CHAT 0x0001
61 #define DEBUGLEVEL_DUMP 0x0002
62 #define DEBUGLEVEL_TRACE 0x0004
64 extern int win32;
65 extern int constant;
66 extern int create_res;
67 extern int extensions;
68 extern int binary;
69 extern int create_header;
70 extern int create_dir;
71 extern int global;
72 extern int indirect;
73 extern int indirect_only;
74 extern int alignment;
75 extern int alignment_pwr;
76 extern int create_s;
77 extern DWORD codepage;
78 extern int pedantic;
79 extern int auto_register;
80 extern int leave_case;
82 extern char *prefix;
83 extern char *output_name;
84 extern char *input_name;
85 extern char *header_name;
86 extern char *cmdline;
88 extern resource_t *resource_top;
89 extern language_t *currentlanguage;
91 #endif