root/src/selcodepage.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   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
  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 */
  24 
  25 /*** enums ***************************************************************************************/
  26 
  27 /*** structures declarations (and typedefs of structures)*****************************************/
  28 
  29 /*** global variables defined in .c file *********************************************************/
  30 
  31 /*** declarations of public functions ************************************************************/
  32 
  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);
  36 
  37 /*** inline functions ****************************************************************************/
  38 
  39 #endif /* MC__SELCODEPAGE_H */

/* [previous][next][first][last][top][bottom][index][help]  */