Release 960331
[wine.git] / include / options.h
blobc1b6f0eb004c95c5603cbb41196551dd5b1bbafc
1 /*
2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef OPTIONS_H
8 #define OPTIONS_H
10 /* Supported languages */
11 typedef enum
13 LANG_En, /* English */
14 LANG_Es, /* Spanish */
15 LANG_De, /* German */
16 LANG_No, /* Norwegian */
17 LANG_Fr, /* French */
18 LANG_Fi, /* Finnish */
19 LANG_Da, /* Danish */
20 LANG_Cz, /* Czech */
21 LANG_Eo, /* Esperanto */
22 LANG_It /* Italian */
23 } WINE_LANGUAGE;
25 /* Supported modes */
26 typedef enum
28 MODE_STANDARD,
29 MODE_ENHANCED
30 } WINE_MODE;
32 struct options
34 char * desktopGeometry; /* NULL when no desktop */
35 char * programName; /* To use when loading resources */
36 int usePrivateMap;
37 int useFixedMap;
38 int synchronous; /* X synchronous mode */
39 int backingstore; /* Use backing store */
40 short cmdShow;
41 int debug;
42 int allowReadOnly; /* Opening a read only file will succeed even
43 if write access is requested */
44 WINE_MODE mode; /* Start Wine in selected mode
45 (standard/enhanced) */
46 int ipc; /* Use IPC mechanisms */
47 WINE_LANGUAGE language; /* Current language */
48 int managed; /* Managed windows */
51 extern struct options Options;
53 /* Profile functions */
55 extern int PROFILE_LoadWineIni(void);
56 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
57 const char *def, char *buffer, int len );
59 #endif