mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
26320d1f75
Moved --synchronous option into config file. Removed --desktop, --display and --language command-line options.
47 lines
1.4 KiB
C
47 lines
1.4 KiB
C
/*
|
|
* Command-line options.
|
|
*
|
|
* Copyright 1994 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_OPTIONS_H
|
|
#define __WINE_OPTIONS_H
|
|
|
|
#include "windef.h"
|
|
|
|
struct options
|
|
{
|
|
int managed; /* Managed windows */
|
|
};
|
|
|
|
extern struct options Options;
|
|
extern const char *argv0;
|
|
extern const char *full_argv0;
|
|
extern unsigned int server_startticks;
|
|
|
|
extern void OPTIONS_Usage(void) WINE_NORETURN;
|
|
extern void OPTIONS_ParseOptions( char *argv[] );
|
|
|
|
/* Profile functions */
|
|
|
|
extern int PROFILE_LoadWineIni(void);
|
|
extern void PROFILE_UsageWineIni(void);
|
|
extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
|
|
const char *def, char *buffer, int len );
|
|
extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
|
|
char *name, int name_len, char *buffer, int len );
|
|
extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
|
|
extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
|
|
extern char* PROFILE_GetStringItem( char* );
|
|
|
|
/* Version functions */
|
|
extern void VERSION_ParseWinVersion( const char *arg );
|
|
extern void VERSION_ParseDosVersion( const char *arg );
|
|
|
|
#define IS_OPTION_TRUE(ch) \
|
|
((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')
|
|
#define IS_OPTION_FALSE(ch) \
|
|
((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
|
|
|
|
#endif /* __WINE_OPTIONS_H */
|