Fixed German translation, changed dialog font to Helvetica.
[wine.git] / include / options.h
blobbdb92f7f6f4110b82506a0ee23b463616a07456c
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 struct options
14 char * desktopGeometry; /* NULL when no desktop */
15 char * display; /* display name */
16 char *dllFlags; /* -dll flags (hack for Winelib support) */
17 int synchronous; /* X synchronous mode */
18 int managed; /* Managed windows */
21 extern struct options Options;
22 extern const char *argv0;
23 extern const char *full_argv0;
24 extern unsigned int server_startticks;
26 extern void OPTIONS_Usage(void) WINE_NORETURN;
27 extern void OPTIONS_ParseOptions( char *argv[] );
29 /* Profile functions */
31 extern int PROFILE_LoadWineIni(void);
32 extern void PROFILE_UsageWineIni(void);
33 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
34 const char *def, char *buffer, int len );
35 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
36 char *name, int name_len, char *buffer, int len );
37 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
38 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
39 extern char* PROFILE_GetStringItem( char* );
41 /* Version functions */
42 extern void VERSION_ParseWinVersion( const char *arg );
43 extern void VERSION_ParseDosVersion( const char *arg );
45 #define IS_OPTION_TRUE(ch) \
46 ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')
47 #define IS_OPTION_FALSE(ch) \
48 ((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
50 #endif /* __WINE_OPTIONS_H */