зеркало из https://github.com/mozilla/gecko-dev.git
Cleanup
This commit is contained in:
Родитель
08bd5d4db0
Коммит
2653baf425
|
@ -65,41 +65,38 @@ interface nsIPrompt : nsISupports
|
||||||
* Puts up a password dialog with OK and Cancel buttons.
|
* Puts up a password dialog with OK and Cancel buttons.
|
||||||
* @return true for OK, false for Cancel
|
* @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);
|
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 wstring inMsg,
|
||||||
in PRUint32 inCount,
|
in PRUint32 inCount,
|
||||||
[array,size_is(inCount) ] in string inList,
|
[array, size_is(inCount)] in string inList,
|
||||||
out long outSelection );
|
out long outSelection);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Put up a universal dialog
|
* Put up a universal dialog
|
||||||
*/
|
*/
|
||||||
void UniversalDialog
|
void universalDialog(in wstring inTitleMessage,
|
||||||
(in wstring inTitleMessage,
|
in wstring inDialogTitle, /* e.g., alert, confirm, prompt, prompt password */
|
||||||
in wstring inDialogTitle, /* e.g., alert, confirm, prompt, prompt password */
|
in wstring inMsg, /* main message for dialog */
|
||||||
in wstring inMsg, /* main message for dialog */
|
in wstring inCheckboxMsg, /* message for checkbox */
|
||||||
in wstring inCheckboxMsg, /* message for checkbox */
|
in wstring inButton0Text, /* text for first button */
|
||||||
in wstring inButton0Text, /* text for first button */
|
in wstring inButton1Text, /* text for second button */
|
||||||
in wstring inButton1Text, /* text for second button */
|
in wstring inButton2Text, /* text for third button */
|
||||||
in wstring inButton2Text, /* text for third button */
|
in wstring inButton3Text, /* text for fourth button */
|
||||||
in wstring inButton3Text, /* text for fourth button */
|
in wstring inEditfield1Msg, /*message for first edit field */
|
||||||
in wstring inEditfield1Msg, /*message for first edit field */
|
in wstring inEditfield2Msg, /* message for second edit field */
|
||||||
in wstring inEditfield2Msg, /* message for second edit field */
|
inout wstring inoutEditfield1Value, /* initial and final value for first edit field */
|
||||||
inout wstring inoutEditfield1Value, /* initial and final value for first edit field */
|
inout wstring inoutEditfield2Value, /* initial and final value for second edit field */
|
||||||
inout wstring inoutEditfield2Value, /* initial and final value for second edit field */
|
in wstring inIConURL, /* url of icon to be displayed in dialog */
|
||||||
in wstring inIConURL, /* url of icon to be displayed in dialog */
|
inout boolean inoutCheckboxState, /* initial and final state of checkbox */
|
||||||
inout boolean inoutCheckboxState, /* initial and final state of checkbox */
|
in PRInt32 inNumberButtons, /* total number of buttons (0 to 4) */
|
||||||
in PRInt32 inNumberButtons, /* total number of buttons (0 to 4) */
|
in PRInt32 inNumberEditfields, /* total number of edit fields (0 to 2) */
|
||||||
in PRInt32 inNumberEditfields, /* total number of edit fields (0 to 2) */
|
in PRInt32 inEditField1Password, /* ??? */
|
||||||
in PRInt32 inEditField1Password, /* ??? */
|
out PRInt32 outButtonPressed); /* number of button that was pressed (0 to 3) */
|
||||||
out PRInt32 outButtonPressed); /* number of button that was pressed (0 to 3) */
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче