// ================= MEMBER FUNCTIONS ======================= // // ---------------------------------------------------------- // CBillboardAppUi::ConstructL() // ---------------------------------------------------------- // void CBillboardAppUi::ConstructL() { BaseConstructL(); iAppContainer = new (ELeave) CBillboardContainer; iAppContainer->SetMopParent(this); iAppContainer->ConstructL( ClientRect(), this ); AddToStackL( iAppContainer ); // Series60 blocks simultaneous key presses by default. // To use multiple keys at the same time the keyblocking // must be disabled. SetKeyBlockMode( ENoKeyBlock ); }
void CAppUi::ConstructL( void ) { // initialize appUI with standard values, read standard resource files BaseConstructL(EAknEnableSkin); SetKeyBlockMode(ENoKeyBlock); //important LOGD("view\n"); iAppView = CAppView::NewL(*this); // construct appView LOGD("Created view\n"); iAppView->SetMopParent( this ); // allow object to be in network of object providers (see MObjectProvider) AddToStackL( iAppView ); // view now gets key press events #ifdef __SERIES60_3X__ iInterfaceSelector = CRemConInterfaceSelector::NewL(); iCoreTarget = CRemConCoreApiTarget::NewL(*iInterfaceSelector, *this); iInterfaceSelector->OpenTargetL(); #endif //DebugMarkStart(); LOG("Initialization complete.\n"); }