2 #ifndef MC__DIALOG_SWITCH_H
3 #define MC__DIALOG_SWITCH_H
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 /*** global variables defined in .c file *********************************************************/
15 extern GList
*top_dlg
;
17 extern gboolean fast_refresh
;
19 extern WDialog
*filemanager
;
21 /*** declarations of public functions ************************************************************/
23 void dialog_switch_add (WDialog
* h
);
24 void dialog_switch_remove (WDialog
* h
);
25 size_t dialog_switch_num (void);
27 void dialog_switch_next (void);
28 void dialog_switch_prev (void);
29 void dialog_switch_list (void);
31 int dialog_switch_process_pending (void);
32 void dialog_switch_got_winch (void);
33 void dialog_switch_shutdown (void);
35 /* Redraw all dialogs */
36 void do_refresh (void);
38 void repaint_screen (void);
39 MC_MOCKABLE
void mc_refresh (void);
40 void dialog_change_screen_size (void);
42 /*** inline functions ****************************************************************************/
44 #endif /* MC__DIALOG_SWITCH_H */