|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <BrCtlSampleAppSoftKeysObserver.h>
Public Member Functions | |
| ~CBrCtlSampleAppSoftkeysObserver () | |
| void | UpdateSoftkeyL (TBrCtlKeySoftkey, const TDesC &, TUint32, TBrCtlSoftkeyChangeReason) |
Static Public Member Functions | |
| static CBrCtlSampleAppSoftkeysObserver * | NewL (CBrCtlSampleAppContainer *aContainer) |
Private Member Functions | |
| void | ConstructL (CBrCtlSampleAppContainer *aContainer) |
Private Attributes | |
| CBrCtlSampleAppContainer * | iContainer |
Definition at line 34 of file BrCtlSampleAppSoftKeysObserver.h.
|
|
Destructor. Definition at line 66 of file BrCtlSampleAppSoftkeysObserver.cpp.
|
|
|
Two-phased constructor. Definition at line 74 of file BrCtlSampleAppSoftkeysObserver.cpp. References ConstructL(). 00075 { 00076 CBrCtlSampleAppSoftkeysObserver* self = new(ELeave)CBrCtlSampleAppSoftkeysObserver; 00077 CleanupStack::PushL(self); 00078 self->ConstructL(aContainer); 00079 CleanupStack::Pop(); 00080 return self; 00081 }
|
|
||||||||||||||||||||
|
Browser Control requests to update a softkey
Definition at line 29 of file BrCtlSampleAppSoftkeysObserver.cpp. References CBrCtlSampleAppContainer::BrCtlInterface(), and iContainer. 00033 { 00034 CBrCtlInterface* brCtl = iContainer->BrCtlInterface(); 00035 00036 TBrCtlDefs::TBrCtlElementType type = brCtl->FocusedElementType(); 00037 00038 CEikButtonGroupContainer* current = CEikButtonGroupContainer::Current(); 00039 switch (type) 00040 { 00041 case TBrCtlDefs::EElementActivatedInputBox: 00042 current->SetCommandSetL( R_INPUT_ELEMENT_BUTTONS ); 00043 break; 00044 00045 default: 00046 current->SetCommandSetL( R_BROWSER_DEFAULT_BUTTONS ); 00047 break; 00048 } 00049 current->DrawNow(); 00050 }
|
|
|
By default Symbian 2nd phase constructor is private. Definition at line 57 of file BrCtlSampleAppSoftkeysObserver.cpp. References iContainer. 00058 { 00059 iContainer = aContainer; 00060 }
|
|
© Nokia 2006 |