Release 960717
[wine/multimedia.git] / include / options.h
blobfffbbeece0f53047d574286078e837cc33679fd0
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 LANG_Ko /* Korean */
24 } WINE_LANGUAGE;
26 extern const char *langNames[];
28 /* Supported modes */
29 typedef enum
31 MODE_STANDARD,
32 MODE_ENHANCED
33 } WINE_MODE;
35 struct options
37 char * desktopGeometry; /* NULL when no desktop */
38 char * programName; /* To use when loading resources */
39 int usePrivateMap;
40 int useFixedMap;
41 int synchronous; /* X synchronous mode */
42 int backingstore; /* Use backing store */
43 short cmdShow;
44 int debug;
45 int allowReadOnly; /* Opening a read only file will succeed even
46 if write access is requested */
47 WINE_MODE mode; /* Start Wine in selected mode
48 (standard/enhanced) */
49 int ipc; /* Use IPC mechanisms */
50 WINE_LANGUAGE language; /* Current language */
51 int managed; /* Managed windows */
52 int perfectGraphics; /* Favor correctness over speed for graphics */
55 extern struct options Options;
57 /* Profile functions */
59 extern int PROFILE_LoadWineIni(void);
60 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
61 const char *def, char *buffer, int len );
62 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name,
63 int def );
65 #endif