diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-08-20 23:24:19 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-08-20 23:24:19 +0200 |
commit | f5c598b518d1f906148534d015f50075d3e8242d (patch) | |
tree | 21dd70add5b366c3dd80641b77f6b18e0baa009e /src/dialog.hh | |
parent | e98d02a01ffeb18ede86af025e51ae1ec011c75a (diff) | |
parent | 5f0fc0e48b8cbee7e1795935da0abff6627fd498 (diff) |
merge
Diffstat (limited to 'src/dialog.hh')
-rw-r--r-- | src/dialog.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dialog.hh b/src/dialog.hh index 17c326cb..440e9bba 100644 --- a/src/dialog.hh +++ b/src/dialog.hh @@ -5,12 +5,16 @@ extern "C" { #endif /* __cplusplus */ +typedef void (*UserPasswordCB)(const char *user, const char *password, + void *vp); + void a_Dialog_msg(const char *msg); int a_Dialog_choice3(const char *msg, const char *b0, const char *b1, const char *b2); int a_Dialog_choice5(const char *QuestionTxt, const char *alt1, const char *alt2, const char *alt3, const char *alt4, const char *alt5); +int a_Dialog_user_password(const char *message, UserPasswordCB cb, void *vp); const char *a_Dialog_input(const char *msg); const char *a_Dialog_passwd(const char *msg); const char *a_Dialog_save_file(const char *msg, @@ -19,8 +23,7 @@ const char *a_Dialog_select_file(const char *msg, const char *pattern, const char *fname); char *a_Dialog_open_file(const char *msg, const char *pattern, const char *fname); -void *a_Dialog_make_text_window(const char *txt, const char *title); -void a_Dialog_show_text_window(void *vWindow); +void a_Dialog_text_window(const char *txt, const char *title); #ifdef __cplusplus } |