idlehomescreen/xmluirendering/uiengine/src/xnextrenderingpluginwrapper.cpp
branchRCL_3
changeset 17 b8fae6b8a148
parent 9 f966699dea19
equal deleted inserted replaced
12:9674c1a575e9 17:b8fae6b8a148
   224 void CXnExtRenderingPluginWrapper::HandleEventL( const TDesC& aEvent, const TDesC8& aDestination )
   224 void CXnExtRenderingPluginWrapper::HandleEventL( const TDesC& aEvent, const TDesC8& aDestination )
   225     {
   225     {
   226     
   226     
   227     CXnNode* node = iNode->Node().UiEngine()->FindNodeByIdL( aDestination );
   227     CXnNode* node = iNode->Node().UiEngine()->FindNodeByIdL( aDestination );
   228     CXnAppUiAdapter* appui = static_cast<CXnAppUiAdapter*>(iAvkonAppUi);
   228     CXnAppUiAdapter* appui = static_cast<CXnAppUiAdapter*>(iAvkonAppUi);
       
   229     if ( !appui || !node )
       
   230         {
       
   231         User::Leave( KErrNotFound );
       
   232         }
   229     appui->HandleEventL( aEvent, node->AppIfL() );
   233     appui->HandleEventL( aEvent, node->AppIfL() );
   230     }
   234     }
   231 
   235 
   232 // ----------------------------------------------------------------------------
   236 // ----------------------------------------------------------------------------
   233 // CXnExtRenderingPluginWrapper::SetDataL()
   237 // CXnExtRenderingPluginWrapper::SetDataL()