mc/lib/widget/dialog-switch.h
Yury V. Zaytsev 93b539444b Ticket #4584: re-implement mocking via weak symbols instead of symbol duplication
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2024-10-19 08:56:40 +02:00

45 lines
1.3 KiB
C

#ifndef MC__DIALOG_SWITCH_H
#define MC__DIALOG_SWITCH_H
#include <sys/types.h>
/*** typedefs(not structures) and defined constants **********************************************/
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
/*** global variables defined in .c file *********************************************************/
extern GList *top_dlg;
extern gboolean fast_refresh;
extern WDialog *filemanager;
/*** declarations of public functions ************************************************************/
void dialog_switch_add (WDialog * h);
void dialog_switch_remove (WDialog * h);
size_t dialog_switch_num (void);
void dialog_switch_next (void);
void dialog_switch_prev (void);
void dialog_switch_list (void);
int dialog_switch_process_pending (void);
void dialog_switch_got_winch (void);
void dialog_switch_shutdown (void);
/* Redraw all dialogs */
void do_refresh (void);
void repaint_screen (void);
MC_MOCKABLE void mc_refresh (void);
void dialog_change_screen_size (void);
/*** inline functions ****************************************************************************/
#endif /* MC__DIALOG_SWITCH_H */