Public Member Functions | Public Attributes

nsIDialogParamBlock Interface Reference

An interface to pass strings, integers and nsISupports to a dialog. More...

import "nsIDialogParamBlock.idl";

Collaboration diagram for nsIDialogParamBlock:

List of all members.

Public Member Functions

PRInt32 GetInt (in PRInt32 inIndex)
 Get or set an integer to pass.
void SetInt (in PRInt32 inIndex, in PRInt32 inInt)
void SetNumberStrings (in PRInt32 inNumStrings)
 Set the maximum number of strings to pass.
wstring GetString (in PRInt32 inIndex)
 Get or set an string to pass.
void SetString (in PRInt32 inIndex, in wstring inString)

Public Attributes

attribute nsIMutableArray objects
 A place where you can store an nsIMutableArray to pass nsISupports.

Detailed Description

An interface to pass strings, integers and nsISupports to a dialog.


Member Function Documentation

PRInt32 nsIDialogParamBlock::GetInt ( in PRInt32  inIndex  ) 

Get or set an integer to pass.

Index must be in the range 0..7

wstring nsIDialogParamBlock::GetString ( in PRInt32  inIndex  ) 

Get or set an string to pass.

Index starts at 0

void nsIDialogParamBlock::SetInt ( in PRInt32  inIndex,
in PRInt32  inInt 
)
void nsIDialogParamBlock::SetNumberStrings ( in PRInt32  inNumStrings  ) 

Set the maximum number of strings to pass.

Default is 16. Use before setting any string (If you want to change it from the default).

void nsIDialogParamBlock::SetString ( in PRInt32  inIndex,
in wstring  inString 
)

Member Data Documentation

A place where you can store an nsIMutableArray to pass nsISupports.


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