2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
12 /* Supported languages */
13 /* When adding a new language look at ole/ole2nls.c
14 * for the LANG_Xx name to choose, and uncomment there
15 * the proper case line
18 { LANG_Xx
, /* Just to ensure value 0 is not used */
19 LANG_En
, /* English */
20 LANG_Es
, /* Spanish */
22 LANG_No
, /* Norwegian */
24 LANG_Fi
, /* Finnish */
27 LANG_Eo
, /* Esperanto */
28 LANG_It
, /* Italian */
30 LANG_Hu
, /* Hungarian */
32 LANG_Pt
, /* Portuguese */
33 LANG_Sv
, /* Swedish */
43 extern const WINE_LANGUAGE_DEF Languages
[];
54 char * desktopGeometry
; /* NULL when no desktop */
55 char * programName
; /* To use when loading resources */
56 char * argv0
; /* argv[0] of Wine process */
57 char *dllFlags
; /* -dll flags (hack for Winelib support) */
60 int synchronous
; /* X synchronous mode */
61 int backingstore
; /* Use backing store */
64 int failReadOnly
; /* Opening a read only file will fail
65 if write access is requested */
66 WINE_MODE mode
; /* Start Wine in selected mode
67 (standard/enhanced) */
68 WINE_LANGUAGE language
; /* Current language */
69 int managed
; /* Managed windows */
70 int perfectGraphics
; /* Favor correctness over speed for graphics */
71 int noDGA
; /* Disable XFree86 DGA extensions */
72 char * configFileName
; /* Command line config file */
75 extern struct options Options
;
77 /* Profile functions */
79 extern int PROFILE_LoadWineIni(void);
80 extern void PROFILE_UsageWineIni(void);
81 extern int PROFILE_GetWineIniString( const char *section
, const char *key_name
,
82 const char *def
, char *buffer
, int len
);
83 extern int PROFILE_GetWineIniInt( const char *section
, const char *key_name
,
85 extern int PROFILE_EnumerateWineIniSection(
87 void (*callback
)(char const *key
, char const *name
, void *user
),
89 extern int PROFILE_GetWineIniBool( char const *section
, char const *key_name
,
91 extern char* PROFILE_GetStringItem( char* );
93 /* Version functions */
94 extern void VERSION_ParseVersion( char *arg
);
96 #endif /* __WINE_OPTIONS_H */