Tell the user if winedefault.reg is not loaded.
[wine] / include / options.h
1 /*
2  * Command-line options.
3  *
4  * Copyright 1994 Alexandre Julliard
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #ifndef __WINE_OPTIONS_H
22 #define __WINE_OPTIONS_H
23
24 #include "windef.h"
25
26 struct options
27 {
28     int    managed;         /* Managed windows */
29 };
30
31 extern struct options Options;
32 extern const char *argv0;
33 extern const char *full_argv0;
34 extern unsigned int server_startticks;
35
36 extern void OPTIONS_Usage(void) WINE_NORETURN;
37 extern void OPTIONS_ParseOptions( char *argv[] );
38
39 /* Profile functions */
40
41 extern int PROFILE_LoadWineIni(void);
42 extern void PROFILE_UsageWineIni(void);
43 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
44                                      const char *def, char *buffer, int len );
45 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
46                                        char *name, int name_len, char *buffer, int len );
47 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
48 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
49 extern char* PROFILE_GetStringItem( char* );
50
51 /* Version functions */
52 extern void VERSION_ParseWinVersion( const char *arg );
53 extern void VERSION_ParseDosVersion( const char *arg );
54
55 #endif  /* __WINE_OPTIONS_H */