Map each channel on every host to an ASPI controller number.
[wine/multimedia.git] / include / options.h
blobfe5d3f53fa610ab353fdd2eb9cb87dd54b88261d
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 LANG_Hr /* Croatian */
47 } WINE_LANGUAGE;
49 typedef struct
51 const char *name;
52 WORD langid;
53 } WINE_LANGUAGE_DEF;
55 extern const WINE_LANGUAGE_DEF Languages[];
57 struct options
59 char * desktopGeometry; /* NULL when no desktop */
60 char * display; /* display name */
61 char *dllFlags; /* -dll flags (hack for Winelib support) */
62 int synchronous; /* X synchronous mode */
63 WINE_LANGUAGE language; /* Current language */
64 int managed; /* Managed windows */
65 char * configFileName; /* Command line config file */
68 extern struct options Options;
69 extern const char *argv0;
71 extern void OPTIONS_Usage(void) WINE_NORETURN;
72 extern void OPTIONS_ParseOptions( char *argv[] );
74 /* Profile functions */
76 extern int PROFILE_LoadWineIni(void);
77 extern void PROFILE_UsageWineIni(void);
78 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
79 const char *def, char *buffer, int len );
80 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
81 char *name, int name_len, char *buffer, int len );
82 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
83 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
84 extern char* PROFILE_GetStringItem( char* );
86 /* Version functions */
87 extern void VERSION_ParseWinVersion( const char *arg );
88 extern void VERSION_ParseDosVersion( const char *arg );
90 #define IS_OPTION_TRUE(ch) \
91 ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')
92 #define IS_OPTION_FALSE(ch) \
93 ((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
95 #endif /* __WINE_OPTIONS_H */