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 */
34 LANG_Sv
, /* Swedish */
35 LANG_Ca
, /* Catalan */
37 LANG_Ru
, /* Russian */
41 LANG_Ga
, /* Irish Gaelic */
42 LANG_Gd
, /* Scots Gaelic */
43 LANG_Gv
, /* Manx Gaelic */
44 LANG_Kw
, /* Cornish */
45 LANG_Ja
/* Japanese */
54 extern const WINE_LANGUAGE_DEF Languages
[];
60 char * desktopGeometry
; /* NULL when no desktop */
61 char * display
; /* display name */
62 char *dllFlags
; /* -dll flags (hack for Winelib support) */
63 int synchronous
; /* X synchronous mode */
64 WINE_LANGUAGE language
; /* Current language */
65 int managed
; /* Managed windows */
66 char * configFileName
; /* Command line config file */
69 extern struct options Options
;
70 extern const char *argv0
;
72 extern void OPTIONS_Usage(void) WINE_NORETURN
;
73 extern void OPTIONS_ParseOptions( int argc
, char *argv
[] );
75 /* Profile functions */
77 extern int PROFILE_LoadWineIni(void);
78 extern void PROFILE_UsageWineIni(void);
79 extern int PROFILE_GetWineIniString( const char *section
, const char *key_name
,
80 const char *def
, char *buffer
, int len
);
81 extern BOOL
PROFILE_EnumWineIniString( const char *section
, int index
,
82 char *name
, int name_len
, char *buffer
, int len
);
83 extern int PROFILE_GetWineIniInt( const char *section
, const char *key_name
, int def
);
84 extern int PROFILE_GetWineIniBool( char const *section
, char const *key_name
, int def
);
85 extern char* PROFILE_GetStringItem( char* );
87 /* Version functions */
88 extern void VERSION_ParseWinVersion( const char *arg
);
89 extern void VERSION_ParseDosVersion( const char *arg
);
91 #endif /* __WINE_OPTIONS_H */