1
2 /** \file selcodepage.h
3 * \brief Header: user %interface for charset %selection
4 */
5
6 #ifndef MC__SELCODEPAGE_H
7 #define MC__SELCODEPAGE_H
8
9 #include "lib/global.h"
10
11 /*** typedefs(not structures) and defined constants **********************************************/
12
13 /* some results of select_charset() */
14 #define SELECT_CHARSET_CANCEL -2 // dialog has been canceled
15 #define SELECT_CHARSET_NO_TRANSLATE -1 // 1st item ("No translation") has been selected
16 /* In other cases select_charset() returns non-negative value
17 * which is number of codepage in codepage list */
18
19 /*** enums ***************************************************************************************/
20
21 /*** structures declarations (and typedefs of structures)*****************************************/
22
23 /*** global variables defined in .c file *********************************************************/
24
25 /*** declarations of public functions ************************************************************/
26
27 int select_charset (int center_y, int center_x, int current_charset);
28 gboolean do_set_codepage (int);
29 gboolean do_select_codepage (void);
30
31 /*** inline functions ****************************************************************************/
32
33 #endif