done_screen() is moved from src/layout.c to src/main.c.
[midnight-commander.git] / src / selcodepage.h
blobe16def96975b2c4765b32cb80e7fa0c612718e18
2 /** \file selcodepage.h
3 * \brief Header: user %interface for charset %selection
4 */
6 #ifndef MC_SELCODEPAGE_H
7 #define MC_SELCODEPAGE_H
9 #ifdef HAVE_CHARSET
11 #include "global.h"
13 int select_charset (int delta_x, int delta_y, int current_charset, gboolean seldisplay);
14 gboolean do_select_codepage (void);
16 /* some results of select_charset() */
17 #define SELECT_CHARSET_CANCEL -2
18 /* select_charset() returns this value if dialog has been cenceled */
19 #define SELECT_CHARSET_OTHER_8BIT -1
20 /* select_charset() returns this value if seldisplay == TRUE
21 * and the last item has been selected. Last item is "Other 8 bits" */
22 #define SELECT_CHARSET_NO_TRANSLATE -1
23 /* select_charset() returns this value if seldisplay == FALSE
24 * and the 1st item has been selected. 1st item is "No translation" */
25 /* In other cases select_charset() returns non-negative value
26 * which is number of codepage in codepage list */
28 #endif /* HAVE_CHARSET */
30 #endif /* MC_SELCODEPAGE_H */