This commit is contained in:
warren%netscape.com 2000-01-07 02:06:57 +00:00
Родитель 08bd5d4db0
Коммит 2653baf425
1 изменённых файлов: 27 добавлений и 30 удалений

Просмотреть файл

@ -65,24 +65,23 @@ interface nsIPrompt : nsISupports
* Puts up a password dialog with OK and Cancel buttons.
* @return true for OK, false for Cancel
*/
boolean promptPassword(in wstring text, in wstring title,
boolean promptPassword(in wstring text,
in wstring title,
out wstring pwd);
/*
Puts up a dialog box which has a list box of strings
/**
* Puts up a dialog box which has a list box of strings
*/
boolean Select( in wstring inDialogTitle,
boolean select(in wstring inDialogTitle,
in wstring inMsg,
in PRUint32 inCount,
[array,size_is(inCount) ] in string inList,
out long outSelection );
[array, size_is(inCount)] in string inList,
out long outSelection);
/**
* Put up a universal dialog
*/
void UniversalDialog
(in wstring inTitleMessage,
void universalDialog(in wstring inTitleMessage,
in wstring inDialogTitle, /* e.g., alert, confirm, prompt, prompt password */
in wstring inMsg, /* main message for dialog */
in wstring inCheckboxMsg, /* message for checkbox */
@ -100,6 +99,4 @@ interface nsIPrompt : nsISupports
in PRInt32 inNumberEditfields, /* total number of edit fields (0 to 2) */
in PRInt32 inEditField1Password, /* ??? */
out PRInt32 outButtonPressed); /* number of button that was pressed (0 to 3) */
};