Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsPIXPIProxy Interface Reference

nsPIXPIProxy More...

import "nsPIXPIProxy.idl";

Inheritance diagram for nsPIXPIProxy:
Inheritance graph
[legend]
Collaboration diagram for nsPIXPIProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void refreshPlugins (in boolean reloadPages)
void notifyRestartNeeded ()
void alert (in wstring title, in wstring text)
 Puts up an alert dialog with an OK button.
PRInt32 confirmEx (in wstring aDialogTitle, in wstring aText, in unsigned long aButtonFlags, in wstring aButton0Title, in wstring aButton1Title, in wstring aButton2Title, in wstring aCheckMsg, inout boolean aCheckState)
 Puts up a dialog with up to 3 buttons and an optional, labeled checkbox.

Detailed Description

nsPIXPIProxy

Used to handle miscellaneous things that XPInstall needs to perform over on the main UI thread.

Definition at line 49 of file nsPIXPIProxy.idl.


Member Function Documentation

void nsPIXPIProxy::alert ( in wstring  title,
in wstring  text 
)

Puts up an alert dialog with an OK button.

Parameters:
titleText to appear in the title of the dialog.
textText to appear in the body of the dialog.
PRInt32 nsPIXPIProxy::confirmEx ( in wstring  aDialogTitle,
in wstring  aText,
in unsigned long  aButtonFlags,
in wstring  aButton0Title,
in wstring  aButton1Title,
in wstring  aButton2Title,
in wstring  aCheckMsg,
inout boolean  aCheckState 
)

Puts up a dialog with up to 3 buttons and an optional, labeled checkbox.

Parameters:
aDialogTitleText to appear in the title of the dialog.
aTextText to appear in the body of the dialog.
aButtonFlagsA combination of Button Flags.
aButton0TitleUsed when button 0 uses TITLE_IS_STRING
aButton1TitleUsed when button 1 uses TITLE_IS_STRING
aButton2TitleUsed when button 2 uses TITLE_IS_STRING
aCheckMsgText to appear with the checkbox. Null if no checkbox.
aCheckStateContains the initial checked state of the checkbox when this method is called and the final checked state after this method returns.
Returns:
index of the button pressed.

Buttons are numbered 0 - 2. The implementation can decide whether the sequence goes from right to left or left to right. Button 0 is the default button unless one of the Button Default Flags is specified.

The value for aButtonFlags is constructed using the constants defined by nsIPromptService.

See also:
nsIPromptService

The documentation for this interface was generated from the following file: