|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <BrCtlSampleAppDialogsProvider.h>
Public Member Functions | |
| ~CBrCtlSampleAppDialogsProvider () | |
| virtual void | DialogNotifyErrorL (TInt) |
| virtual void | DialogNotifyHttpErrorL (TInt, const TDesC &) |
| virtual TBool | DialogFileSelectLC (const TDesC &, const TDesC &, HBufC *&) |
| virtual TBool | DialogSelectOptionL (const TDesC &, TBrCtlSelectOptionType, CArrayFix< TBrCtlSelectOptionData > &) |
| virtual TBool | DialogUserAuthenticationLC (const TDesC &, const TDesC &, const TDesC &, HBufC *&, HBufC *&, TBool=EFalse) |
| virtual void | DialogNoteL (const TDesC &) |
| void | DialogAlertL (const TDesC &aTitle, const TDesC &aMessage) |
| virtual TBool | DialogConfirmL (const TDesC &, const TDesC &, const TDesC &, const TDesC &) |
| virtual TBool | DialogPromptLC (const TDesC &, const TDesC &, const TDesC &, HBufC *&) |
| virtual TBool | DialogDownloadObjectL (CBrCtlObjectInfo *) |
| virtual void | DialogDisplayPageImagesL (CArrayFixFlat< TBrCtlImageCarrier > &) |
| virtual void | CancelAll () |
| virtual void | DialogFindL () |
Static Public Member Functions | |
| static CBrCtlSampleAppDialogsProvider * | NewL (CBrCtlSampleAppContainer *aContainer) |
Private Member Functions | |
| void | ConstructL (CBrCtlSampleAppContainer *aContainer) |
Private Attributes | |
| CBrCtlSampleAppContainer * | iContainer |
Definition at line 33 of file BrCtlSampleAppDialogsProvider.h.
|
|
Destructor. Definition at line 75 of file BrCtlSampleAppDialogsProvider.cpp.
|
|
|
Two-phased constructor. Definition at line 83 of file BrCtlSampleAppDialogsProvider.cpp. References ConstructL(). 00084 { 00085 CBrCtlSampleAppDialogsProvider* self = new(ELeave)CBrCtlSampleAppDialogsProvider; 00086 CleanupStack::PushL(self); 00087 self->ConstructL(aContainer); 00088 CleanupStack::Pop(); 00089 return self; 00090 }
|
|
|
Notify the user of an error
Definition at line 53 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||
|
Notify the user of an http error
Definition at line 64 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||||||
|
File selection dialog
Definition at line 76 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||||||
|
List selection dialog
Definition at line 91 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||||||||||||||||||
|
User Authentication dialog. User name and password are returned on cleanup stack
Definition at line 109 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
Display a note to the user. No softkeys
Definition at line 126 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||
|
Display a note to the user with ok softkey only
Definition at line 38 of file BrCtlSampleAppDialogsProvider.cpp. 00039 { 00040 _LIT(KEndMessage, "\n\n"); 00041 HBufC* messagebody = HBufC::NewLC( aMessage.Length()+2 ); 00042 messagebody->Des().Append( aMessage ); 00043 messagebody->Des().Append(KEndMessage); 00044 00045 HBufC* header = HBufC::NewLC( aTitle.Length() ); 00046 header->Des().Append( aTitle ); 00047 00048 CAknMessageQueryDialog* dialog = 00049 CAknMessageQueryDialog::NewL( *messagebody ); 00050 00051 dialog->PrepareLC( R_AVKON_MESSAGE_QUERY_DIALOG ); 00052 dialog->ButtonGroupContainer().MakeCommandVisible( 00053 EAknSoftkeyCancel, EFalse ); 00054 00055 dialog->QueryHeading()->SetTextL( *header ); 00056 00057 dialog->RunLD(); 00058 00059 CleanupStack::PopAndDestroy( 2 ); // header , messagebody 00060 }
|
|
||||||||||||||||||||
|
Display confirmation message to the user
Definition at line 148 of file BrCtlSampleAppDialogsProvider.h.
|
|
||||||||||||||||||||
|
Display input dialog to the user
Definition at line 165 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
Display object info and ask confirmation before download
Definition at line 179 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
DIsplay the images that appear in the current page
Definition at line 190 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
Cancel any dialog that is being displayed due to e.g. Browser exit or page was destroyed
Definition at line 199 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
Display search on page dialog
Definition at line 208 of file BrCtlSampleAppDialogsProvider.h.
|
|
|
By default Symbian 2nd phase constructor is private. Definition at line 66 of file BrCtlSampleAppDialogsProvider.cpp. References iContainer. 00067 { 00068 iContainer = aContainer; 00069 }
|
|
© Nokia 2006 |