mc/src/setup.h
Pavel Roskin 2538dbfdd3 * file.c (panel_get_file): Make static.
* filegui.h: Eliminate use of WANT_WIDGETS.
* setup.h: Likewise.
* menu.h: Declare struct WMenu.
* main.h: Don't include menu.h, use forward declaration.
2002-11-11 07:35:08 +00:00

37 lines
864 B
C

#ifndef __SETUP_H
#define __SETUP_H
char *setup_init (void);
void save_layout (void);
void save_configure (void);
void load_setup (void);
void save_setup (void);
void done_setup (void);
void load_key_defs (void);
void save_panel_types (void);
char *load_anon_passwd (void);
struct WPanel;
void panel_save_setup (struct WPanel *panel, char *section);
void panel_load_setup (struct WPanel *panel, char *section);
extern char *profile_name;
extern char *global_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;
extern int verbose;
#ifdef NATIVE_WIN32
# define PROFILE_NAME "mc.ini"
# define HOTLIST_FILENAME "mc.hot"
#else
# define PROFILE_NAME ".mc/ini"
# define HOTLIST_FILENAME ".mc/hotlist"
#endif
#endif