2010-04-18 14:58:18 +04:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
#ifndef MC__DIALOG_SWITCH_H
|
|
|
|
#define MC__DIALOG_SWITCH_H
|
2010-04-18 14:58:18 +04:00
|
|
|
|
2010-06-18 14:35:27 +04:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
2011-02-16 19:11:19 +03:00
|
|
|
extern Dlg_head *midnight_dlg;
|
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
2010-04-18 14:58:18 +04:00
|
|
|
void dialog_switch_add (struct Dlg_head *h);
|
|
|
|
void dialog_switch_remove (struct Dlg_head *h);
|
2010-06-18 14:35:27 +04:00
|
|
|
size_t dialog_switch_num (void);
|
2010-04-18 14:58:18 +04:00
|
|
|
|
|
|
|
void dialog_switch_next (void);
|
|
|
|
void dialog_switch_prev (void);
|
|
|
|
void dialog_switch_list (void);
|
|
|
|
|
|
|
|
int dialog_switch_process_pending (void);
|
2010-06-05 18:48:06 +04:00
|
|
|
void dialog_switch_got_winch (void);
|
2010-05-30 18:43:50 +04:00
|
|
|
void dialog_switch_shutdown (void);
|
2010-04-18 14:58:18 +04:00
|
|
|
|
2011-02-16 19:11:19 +03:00
|
|
|
/* Clear screen */
|
|
|
|
void clr_scr (void);
|
|
|
|
void repaint_screen (void);
|
2011-10-01 17:50:16 +04:00
|
|
|
void mc_refresh (void);
|
2011-02-18 14:30:15 +03:00
|
|
|
void dialog_change_screen_size (void);
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
#endif /* MC__DIALOG_SWITCH_H */
|