2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
12 /* Supported languages */
15 LANG_En, /* English */
16 LANG_Es, /* Spanish */
18 LANG_No, /* Norwegian */
20 LANG_Fi, /* Finnish */
23 LANG_Eo, /* Esperanto */
24 LANG_It, /* Italian */
26 LANG_Hu, /* Hungarian */
28 LANG_Po, /* Portuguese */
29 LANG_Sw, /* Swedish */
39 extern const WINE_LANGUAGE_DEF Languages[];
50 char * desktopGeometry; /* NULL when no desktop */
51 char * programName; /* To use when loading resources */
52 char * argv0; /* argv[0] of Wine process */
53 char *dllFlags; /* -dll flags (hack for Winelib support) */
56 int synchronous; /* X synchronous mode */
57 int backingstore; /* Use backing store */
60 int failReadOnly; /* Opening a read only file will fail
61 if write access is requested */
62 WINE_MODE mode; /* Start Wine in selected mode
63 (standard/enhanced) */
64 WINE_LANGUAGE language; /* Current language */
65 int managed; /* Managed windows */
66 int perfectGraphics; /* Favor correctness over speed for graphics */
69 extern struct options Options;
71 /* Profile functions */
73 extern int PROFILE_LoadWineIni(void);
74 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
75 const char *def, char *buffer, int len );
76 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name,
78 extern int PROFILE_EnumerateWineIniSection(
80 void (*callback)(char const *key, char const *name, void *user),
82 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name,
84 extern char* PROFILE_GetStringItem( char* );
86 /* Version functions */
87 extern void VERSION_ParseVersion( char *arg );
89 #endif /* __WINE_OPTIONS_H */