Applied MC indentation policy.
[kaloumi3.git] / src / selcodepage.h
blob3f0eddd6da9f724bfaa44c48eb9b24245a9a2bf0
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 "lib/global.h"
13 int select_charset (int center_y, int center_x, int current_charset, gboolean seldisplay);
14 gboolean do_set_codepage (int);
15 gboolean do_select_codepage (void);
17 /* some results of select_charset() */
18 #define SELECT_CHARSET_CANCEL -2
19 /* select_charset() returns this value if dialog has been canceled */
20 #define SELECT_CHARSET_OTHER_8BIT -1
21 /* select_charset() returns this value if seldisplay == TRUE
22 * and the last item has been selected. Last item is "Other 8 bits" */
23 #define SELECT_CHARSET_NO_TRANSLATE -1
24 /* select_charset() returns this value if seldisplay == FALSE
25 * and the 1st item has been selected. 1st item is "No translation" */
26 /* In other cases select_charset() returns non-negative value
27 * which is number of codepage in codepage list */
29 #endif /* HAVE_CHARSET */
31 #endif /* MC_SELCODEPAGE_H */