mc/src/win.h
Roland Illig 2994c738d0 * help.c (search_string): Fixed a warning about a const qualifier.
A local copy of the string is used for modifying.
	* menu.h: Removed the const qualifier from Menu.name and
	Menu.help_node as they are freed in destroy_menu.
	* menu.c (destroy_menu): Removed the (now unnecessary) casts.
	* popt.h: Removed a const qualifier to avoid compiler warnings.
	* profile.c (get_profile_string): Added const qualifiers to
	avoid compiler warnings. (GetSetProfile): likewise.
	(GetSetProfileChar): likewise.
	* profile.h (get_profile_string): likewise.
	* win.c (check_movement_keys): likewise.
	* win.h (check_movement_keys): likewise.
2004-09-18 14:30:58 +00:00

18 lines
446 B
C

#ifndef __WIN_H
#define __WIN_H
/* Keys management */
typedef void (*movefn) (const void *, int);
int check_movement_keys (int key, int page_size, const void *data, movefn backfn,
movefn forfn, movefn topfn, movefn bottomfn);
int lookup_key (char *keyname);
/* Terminal management */
extern int xterm_flag;
void do_enter_ca_mode (void);
void do_exit_ca_mode (void);
void mc_raw_mode (void);
void mc_noraw_mode (void);
#endif /* __WIN_H */