annotate src/dialog.hh @ 2104:3e7e5395f0bc

non-ASCII keybindings Alexander Voigt has kindly done some testing, and it seems that this makes bindings to most keys on a German keyboard possible -- except those that need AltGr don't work yet.
author corvid <corvid@lavabit.com>
date Thu, 23 Jun 2011 19:24:11 +0000
parents f6cae9de62ab
children
rev   line source
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
1 #ifndef __DIALOG_HH__
38
jcid
parents: 0
diff changeset
2 #define __DIALOG_HH__
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
3
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
4 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
5 extern "C" {
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
6 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
7
470
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
8 typedef void (*UserPasswordCB)(const char *user, const char *password,
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
9 void *vp);
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
10
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
11 void a_Dialog_msg(const char *msg);
171
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
12 int a_Dialog_choice5(const char *QuestionTxt,
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
13 const char *alt1, const char *alt2, const char *alt3,
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
14 const char *alt4, const char *alt5);
470
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
15 int a_Dialog_user_password(const char *message, UserPasswordCB cb, void *vp);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
16 const char *a_Dialog_input(const char *msg);
241
78fa66a3ba64 - Enabled proxy_user in preferences.
jcid
parents: 225
diff changeset
17 const char *a_Dialog_passwd(const char *msg);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
18 const char *a_Dialog_save_file(const char *msg,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
19 const char *pattern, const char *fname);
172
765db4e71128 - Implemented the file input control for forms (work in progress).
jcid
parents: 171
diff changeset
20 const char *a_Dialog_select_file(const char *msg,
765db4e71128 - Implemented the file input control for forms (work in progress).
jcid
parents: 171
diff changeset
21 const char *pattern, const char *fname);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
22 char *a_Dialog_open_file(const char *msg,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
23 const char *pattern, const char *fname);
1572
2307d3f8e41b dialog recombine make/show_text_window
corvid <corvid@lavabit.com>
parents: 470
diff changeset
24 void a_Dialog_text_window(const char *txt, const char *title);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
25
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
26 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
27 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
28 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
29
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
30 #endif // __DIALOG_HH__