Location:
DialogProvider.h
class MDialogProvider;
Dependencies : none Comments : This class provides an API to be called by low level components, like data collectors, and implemented by the UI.
It is mainly used for dialog creation and information passing.
Defined in MDialogProvider
:
AlertL()
, CancelConnectingDialog()
, CertificateConfirmationL()
, CloseCancelDialog()
, ConfirmationL()
, DisplayCancelDialogL()
, DisplayConnectingDialogL()
, GotMoreUnknownData()
, GotUnknownData()
, MDialogProvider_Reserved1()
, NoMoreUnknownData()
, PasswordL()
, PromptL()
virtual HBufC *PromptL(const TDesC &aMessage, const TDesC &aDefaultInput)=0;
Intended Usage : This creates an input dialog for the user to enter a text string into a single text field.
|
|
virtual void PasswordL(TPassword &aPasswd)=0;
Intended Usage : Creates a password dialog for user to enter some hidden text.
|
virtual TBool ConfirmationL(const TDesC &aMessage, const TDesC &aOkButtonLabel, const TDesC &aCancelButtonLabel)=0;
Intended Usage : Creates a simple confirmation dialog with Ok and Cancel (or similar) buttons. Allows the user to confirm an action or message. Some text is displayed indicating the nature of the action.
|
|
virtual TBool CertificateConfirmationL(const RCertificate::TInfo &aCertificateInfo)=0;
Intended Usage : Created a certificate confirmation dialog. Requests that the user accept or reject the displayed certificate.
|
|
virtual void AlertL(const TDesC &aMessage)=0;
Intended Usage : Creates an alert dialog to inform the user. A message is displayed and there is an Ok (or similar) button to close the dialog.
|
virtual void DisplayConnectingDialogL()=0;
A connecting dialog is not already been created.
Intended Usage : This creates a dialog which indicates that a connection is being done.
Unspecified
virtual void CancelConnectingDialog()=0;
Intended Usage : Cancels the current connecting dialog.
virtual void DisplayCancelDialogL(const TDesC &aMessage, MWtaiCancelOperationObserver *aCancelOperation)=0;
None
Intended Usage : Displays a non-blocking cancel dialog that allows the user to cancel an an operation. When the user cancels the operation, the dialog must close and call the CancelOperation() method provided by the MWtaiPublicCancelOperation object passed in by the object that requires the use of the cancel dialog.
A non-blocking cancel dialog appears with the paramater text passed into it
|
virtual void CloseCancelDialog()=0;
The DisplayCancelDialogL()
method must have been called and the dialog is on display
Intended Usage : This method closes the cancel dialog created from the DisplayCancelDialogL above.
The cancel dialog closes
virtual TBool GotUnknownData(const TDesC &aMimeType, MHTTPDataSupplier *aDataSupplier)=0;
Unknown data content will have begun downloading
Intended Usage : This method is called when unknown data is first recieved and should be handled. Data is recieved in chunks and this method is called when the first chunk has arrived.
The data will continue downloading if ETrue is returned
|
|
virtual void GotMoreUnknownData(MHTTPDataSupplier *aDataSupplier)=0;
The first chunk of data has already arrived and GotUnknownData()
method has been called
Intended Usage : This method will be called when more unknown data from an existing fetch has arrived. As the data arrives
in chunks, this methos will be called when data arrives after the GotUnknownData()
method has been called.
|
virtual void NoMoreUnknownData(MHTTPDataSupplier *aDataSupplier, TInt aErrorCode)=0;
An unknown data fetch has been completed and all data handled
Intended Usage : The method is called when an existing unknown data fetch has completed and no more unknown data is to be expected.
|
virtual void MDialogProvider_Reserved1()=0;
Intended Usage : Function placeholder for BC proofing.