Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
[wine] / include / options.h
1 /*
2  * Command-line options.
3  *
4  * Copyright 1994 Alexandre Julliard
5  */
6
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
9
10 #include "windef.h"
11
12 struct options
13 {
14     int    managed;         /* Managed windows */
15 };
16
17 extern struct options Options;
18 extern const char *argv0;
19 extern const char *full_argv0;
20 extern unsigned int server_startticks;
21
22 extern void OPTIONS_Usage(void) WINE_NORETURN;
23 extern void OPTIONS_ParseOptions( char *argv[] );
24
25 /* Profile functions */
26
27 extern int PROFILE_LoadWineIni(void);
28 extern void PROFILE_UsageWineIni(void);
29 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
30                                      const char *def, char *buffer, int len );
31 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
32                                        char *name, int name_len, char *buffer, int len );
33 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
34 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
35 extern char* PROFILE_GetStringItem( char* );
36
37 /* Version functions */
38 extern void VERSION_ParseWinVersion( const char *arg );
39 extern void VERSION_ParseDosVersion( const char *arg );
40
41 #endif  /* __WINE_OPTIONS_H */