kconfig/lxdialog/dialog.h
changeset 2882 da77b5e7cb9f
parent 1 eeea35fbf182
     1.1 --- a/kconfig/lxdialog/dialog.h	Sat Feb 24 11:00:05 2007 +0000
     1.2 +++ b/kconfig/lxdialog/dialog.h	Mon Feb 13 21:10:06 2012 +0100
     1.3 @@ -26,6 +26,12 @@
     1.4  #include <string.h>
     1.5  #include <stdbool.h>
     1.6  
     1.7 +#ifndef KBUILD_NO_NLS
     1.8 +# include <libintl.h>
     1.9 +#else
    1.10 +# define gettext(Msgid) ((const char *) (Msgid))
    1.11 +#endif
    1.12 +
    1.13  #ifdef __sun__
    1.14  #define CURS_MACROS
    1.15  #endif
    1.16 @@ -187,9 +193,9 @@
    1.17  int on_key_esc(WINDOW *win);
    1.18  int on_key_resize(void);
    1.19  
    1.20 -void init_dialog(const char *backtitle);
    1.21 -void reset_dialog(void);
    1.22 -void end_dialog(void);
    1.23 +int init_dialog(const char *backtitle);
    1.24 +void set_dialog_backtitle(const char *backtitle);
    1.25 +void end_dialog(int x, int y);
    1.26  void attr_clear(WINDOW * win, int height, int width, chtype attr);
    1.27  void dialog_clear(void);
    1.28  void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);