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 */
37 extern const WINE_LANGUAGE_DEF Languages
[];
48 char * desktopGeometry
; /* NULL when no desktop */
49 char * programName
; /* To use when loading resources */
50 char * argv0
; /* argv[0] of Wine process */
53 int synchronous
; /* X synchronous mode */
54 int backingstore
; /* Use backing store */
57 int failReadOnly
; /* Opening a read only file will fail
58 if write access is requested */
59 WINE_MODE mode
; /* Start Wine in selected mode
60 (standard/enhanced) */
61 int ipc
; /* Use IPC mechanisms */
62 WINE_LANGUAGE language
; /* Current language */
63 int managed
; /* Managed windows */
64 int perfectGraphics
; /* Favor correctness over speed for graphics */
67 extern struct options Options
;
69 /* Profile functions */
71 extern int PROFILE_LoadWineIni(void);
72 extern int PROFILE_GetWineIniString( const char *section
, const char *key_name
,
73 const char *def
, char *buffer
, int len
);
74 extern int PROFILE_GetWineIniInt( const char *section
, const char *key_name
,
76 extern int PROFILE_EnumerateWineIniSection(
78 void (*callback
)(char const *key
, char const *name
, void *user
),
80 extern int PROFILE_GetWineIniBool( char const *section
, char const *key_name
,
82 extern char* PROFILE_GetStringItem( char* );
84 #endif /* __WINE_OPTIONS_H */