Separated 32 bit functions to shellole.c.
[wine/multimedia.git] / include / options.h
blobe0aba72b5c682eb07a7a57680c53beef0e824fe6
1 /*
2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
10 #include "windef.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
17 typedef enum
18 { LANG_Xx, /* Just to ensure value 0 is not used */
19 LANG_En, /* English */
20 LANG_Es, /* Spanish */
21 LANG_De, /* German */
22 LANG_No, /* Norwegian */
23 LANG_Fr, /* French */
24 LANG_Fi, /* Finnish */
25 LANG_Da, /* Danish */
26 LANG_Cs, /* Czech */
27 LANG_Eo, /* Esperanto */
28 LANG_It, /* Italian */
29 LANG_Ko, /* Korean */
30 LANG_Hu, /* Hungarian */
31 LANG_Pl, /* Polish */
32 LANG_Pt, /* Portuguese */
33 LANG_Sk, /* Slovak */
34 LANG_Sv, /* Swedish */
35 LANG_Ca, /* Catalan */
36 LANG_Nl, /* Dutch */
37 LANG_Ru, /* Russian */
38 LANG_Wa, /* Walon */
39 LANG_Br, /* Breton */
40 LANG_Cy, /* Welsh */
41 LANG_Ga, /* Irish Gaelic */
42 LANG_Gd, /* Scots Gaelic */
43 LANG_Gv, /* Manx Gaelic */
44 LANG_Kw, /* Cornish */
45 LANG_Ja /* Japanese */
46 } WINE_LANGUAGE;
48 typedef struct
50 const char *name;
51 WORD langid;
52 } WINE_LANGUAGE_DEF;
54 extern const WINE_LANGUAGE_DEF Languages[];
56 struct options
58 int argc;
59 char **argv;
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 */