d467d2c22e
If there is no config-file in $HOME, use a default parameter value instead of complaining and exiting. Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
24 lines
591 B
C
24 lines
591 B
C
/*
|
|
* params.h
|
|
*
|
|
* (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>
|
|
*
|
|
*/
|
|
|
|
#ifndef PARAMS_H
|
|
#define PARAMS_H
|
|
|
|
#define DEFAULTS_FILE "~/.fookb"
|
|
|
|
#define DEFAULT_ICON1 "/usr/local/share/fookb/lat.xpm"
|
|
#define DEFAULT_ICON2 "/usr/local/share/fookb/rus.xpm"
|
|
#define DEFAULT_ICON3 "/usr/local/share/fookb/3.xpm"
|
|
#define DEFAULT_ICON4 "/usr/local/share/fookb/4.xpm"
|
|
#define DEFAULT_ICON_BOOM "/usr/local/share/fookb/boom.xpm"
|
|
#define DEFAULT_SOUND "Yes"
|
|
#define DEFAULT_COMMAND "/usr/bin/play /usr/local/share/fookb/beep_spring.au"
|
|
|
|
char *read_param(char *);
|
|
|
|
#endif /* PARAMS_H */
|