idlehomescreen/xmluirendering/uiengine/src/xneditor.cpp
changeset 5 c743ef5928ba
parent 4 4d54b72983ae
child 15 ff572dfe6d86
child 29 968d4f764c35
equal deleted inserted replaced
4:4d54b72983ae 5:c743ef5928ba
   310 void CXnEditor::ConstructL( const TDesC8& aUid )
   310 void CXnEditor::ConstructL( const TDesC8& aUid )
   311     {
   311     {
   312     iCpsWrapper = CCpsWrapper::NewL( *this );
   312     iCpsWrapper = CCpsWrapper::NewL( *this );
   313     iHspsWrapper = CHspsWrapper::NewL( aUid, this );
   313     iHspsWrapper = CHspsWrapper::NewL( aUid, this );
   314     iRepository= CRepository::NewL( TUid::Uid( KCRUidActiveIdleLV ) );
   314     iRepository= CRepository::NewL( TUid::Uid( KCRUidActiveIdleLV ) );
   315     iBgManager = CXnBackgroundManager::NewL( iViewManager, *iHspsWrapper );
       
   316     }
   315     }
   317 
   316 
   318 // ---------------------------------------------------------------------------
   317 // ---------------------------------------------------------------------------
   319 // CXnEditor::~CXnEditor
   318 // CXnEditor::~CXnEditor
   320 // ---------------------------------------------------------------------------
   319 // ---------------------------------------------------------------------------
   325     
   324     
   326     delete iCpsWrapper;
   325     delete iCpsWrapper;
   327     delete iHspsWrapper;
   326     delete iHspsWrapper;
   328     delete iPublisherMap;
   327     delete iPublisherMap;
   329     delete iRepository;
   328     delete iRepository;
   330     delete iBgManager;
       
   331     }
   329     }
   332 
   330 
   333 // -----------------------------------------------------------------------------
   331 // -----------------------------------------------------------------------------
   334 // CXnEditor::IsCurrentViewFull
   332 // CXnEditor::IsCurrentViewFull
   335 // -----------------------------------------------------------------------------
   333 // -----------------------------------------------------------------------------
  1595     {
  1593     {
  1596     return *iHspsWrapper;
  1594     return *iHspsWrapper;
  1597     }
  1595     }
  1598 
  1596 
  1599 // -----------------------------------------------------------------------------
  1597 // -----------------------------------------------------------------------------
  1600 // CXnEditor::BgManager
       
  1601 // -----------------------------------------------------------------------------
       
  1602 //
       
  1603 CXnBackgroundManager& CXnEditor::BgManager() const
       
  1604     {
       
  1605     return *iBgManager;
       
  1606     }
       
  1607 
       
  1608 // -----------------------------------------------------------------------------
       
  1609 // from MHsContentController
  1598 // from MHsContentController
  1610 // -----------------------------------------------------------------------------
  1599 // -----------------------------------------------------------------------------
  1611 //
  1600 //
  1612 TInt CXnEditor::WidgetListL( CHsContentInfoArray& aArray )
  1601 TInt CXnEditor::WidgetListL( CHsContentInfoArray& aArray )
  1613     {
  1602     {