summaryrefslogtreecommitdiffstats
path: root/lib/widget/dialog-switch.h
blob: 332b71d4dd5e5728773a8fe337f6f75450fad6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#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 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);

void repaint_screen (void);
void mc_refresh (void);
void dialog_change_screen_size (void);

/*** inline functions ****************************************************************************/

#endif /* MC__DIALOG_SWITCH_H */