nsPIXPIProxy

IID:6F9D2890-167D-11d5-8DAF-000064657374
Inherits From:nsISupports

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


Methods

void alert ( PRUnichar* title , PRUnichar* text ) PRInt32 confirmEx ( PRUnichar* dialogTitle , PRUnichar* text , PRUint32 buttonFlags , PRUnichar* button0Title , PRUnichar* button1Title , PRUnichar* button2Title , PRUnichar* checkMsg , inout PRBool checkState ) void notifyRestartNeeded ( ) void refreshPlugins ( PRBool reloadPages )

void alert ( PRUnichar* title , PRUnichar* text )

Puts up an alert dialog with an OK button.

Arguments:
title: Text to appear in the title of the dialog.
text: Text to appear in the body of the dialog.

PRInt32 confirmEx ( PRUnichar* dialogTitle , PRUnichar* text , PRUint32 buttonFlags , PRUnichar* button0Title , PRUnichar* button1Title , PRUnichar* button2Title , PRUnichar* checkMsg , inout PRBool checkState )

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

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 buttonFlags is constructed using the constants defined by nsIPromptService.

Arguments:
dialogTitle: Text to appear in the title of the dialog.
text: Text to appear in the body of the dialog.
buttonFlags: A combination of Button Flags.
button0Title: Used when button 0 uses TITLE_IS_STRING
button1Title: Used when button 1 uses TITLE_IS_STRING
button2Title: Used when button 2 uses TITLE_IS_STRING
checkMsg: Text to appear with the checkbox. Null if no checkbox.
checkState: Contains 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.

void notifyRestartNeeded ( )


void refreshPlugins ( PRBool reloadPages )

Arguments:
reloadPages

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com