Ticket #3804: syntax: update Ada 95 keywords (ALT Linux #33330)
[midnight-commander.git] / src / selcodepage.h
blob808073ee791c104c84484c61890b2753f3e94035
2 /** \file selcodepage.h
3 * \brief Header: user %interface for charset %selection
4 */
6 #ifndef MC__SELCODEPAGE_H
7 #define MC__SELCODEPAGE_H
9 #include "lib/global.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /* some results of select_charset() */
14 #define SELECT_CHARSET_CANCEL -2
15 /* select_charset() returns this value if dialog has been canceled */
16 #define SELECT_CHARSET_OTHER_8BIT -1
17 /* select_charset() returns this value if seldisplay == TRUE
18 * and the last item has been selected. Last item is "Other 8 bits" */
19 #define SELECT_CHARSET_NO_TRANSLATE -1
20 /* select_charset() returns this value if seldisplay == FALSE
21 * and the 1st item has been selected. 1st item is "No translation" */
22 /* In other cases select_charset() returns non-negative value
23 * which is number of codepage in codepage list */
25 /*** enums ***************************************************************************************/
27 /*** structures declarations (and typedefs of structures)*****************************************/
29 /*** global variables defined in .c file *********************************************************/
31 /*** declarations of public functions ************************************************************/
33 int select_charset (int center_y, int center_x, int current_charset, gboolean seldisplay);
34 gboolean do_set_codepage (int);
35 gboolean do_select_codepage (void);
37 /*** inline functions ****************************************************************************/
39 #endif /* MC__SELCODEPAGE_H */