1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #ifndef NEDIT_DIALOGF_H_INCLUDED
28 #define NEDIT_DIALOGF_H_INCLUDED
29
30 #include <X11/Intrinsic.h>
31 #include <sys/param.h>
32
33 #define DF_ERR 1
34 #define DF_INF 2
35 #define DF_MSG 3
36 #define DF_QUES 4
37 #define DF_WARN 5
38 #define DF_PROMPT 6
39
40
41
42
43 #define DF_MAX_MSG_LENGTH (
2047 +
MAXPATHLEN)
44 #define DF_MAX_PROMPT_LENGTH 255
45
46 unsigned DialogF(
int dialog_type, Widget parent,
unsigned n,
const char* title,
47 const char* msgstr, ...);
48 void SetDialogFPromptHistory(
char **historyList,
int nItems);
49
50 #endif
51