1998-02-27 07:54:42 +03:00
|
|
|
#ifndef __SETUP_H
|
|
|
|
#define __SETUP_H
|
|
|
|
|
1999-03-30 10:09:56 +04:00
|
|
|
char *setup_init (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void save_layout (void);
|
|
|
|
void save_configure (void);
|
|
|
|
void load_setup (void);
|
|
|
|
void save_setup (void);
|
|
|
|
void done_setup (void);
|
1998-04-17 04:59:58 +04:00
|
|
|
#ifdef WANT_WIDGETS
|
|
|
|
void panel_save_setup (WPanel *panel, char *section);
|
|
|
|
void panel_load_setup (WPanel *panel, char *section);
|
|
|
|
#else
|
1998-02-27 07:54:42 +03:00
|
|
|
void panel_save_setup ();
|
|
|
|
void panel_load_setup ();
|
1998-04-17 04:59:58 +04:00
|
|
|
#endif
|
1998-02-27 07:54:42 +03:00
|
|
|
void load_key_defs (void);
|
1998-03-13 06:44:54 +03:00
|
|
|
void save_panel_types (void);
|
1998-12-03 00:27:27 +03:00
|
|
|
char *load_anon_passwd (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
extern char *profile_name;
|
|
|
|
|
|
|
|
extern char setup_color_string [];
|
|
|
|
extern char term_color_string [];
|
|
|
|
extern char color_terminal_string [];
|
|
|
|
|
|
|
|
extern int startup_left_mode;
|
|
|
|
extern int startup_right_mode;
|
1998-11-18 05:31:23 +03:00
|
|
|
extern int verbose;
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
#ifdef OS2_NT
|
|
|
|
# define PROFILE_NAME "mc.ini"
|
|
|
|
# define HOTLIST_FILENAME "mc.hot"
|
|
|
|
#else
|
|
|
|
# define PROFILE_NAME ".mc/ini"
|
|
|
|
# define HOTLIST_FILENAME ".mc/hotlist"
|
|
|
|
#endif
|
|
|
|
#endif
|