calendarui/controller/src/calencontroller.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 20 21239b3bcd78
child 27 55d60436f00b
equal deleted inserted replaced
20:21239b3bcd78 21:9711e452b5e9
   980 // ----------------------------------------------------------------------------
   980 // ----------------------------------------------------------------------------
   981 // CCalenController::GetIconL
   981 // CCalenController::GetIconL
   982 // Get icon of specific type
   982 // Get icon of specific type
   983 // ----------------------------------------------------------------------------
   983 // ----------------------------------------------------------------------------
   984 //
   984 //
   985 CGulIcon* CCalenController::GetIconL( MCalenServices::TCalenIcons aIndex )
   985 CGulIcon* CCalenController::GetIconL( MCalenServices::TCalenIcons aIndex, const TInt aViewId ) 
   986     {
   986     {
   987     TRACE_ENTRY_POINT;
   987     TRACE_ENTRY_POINT;
   988     
   988     
   989     // if view requests next view icon
   989     // if view requests next view icon
   990     if(aIndex == MCalenServices::ECalenNextViewIcon)
   990     if(aIndex == MCalenServices::ECalenNextViewIcon)
   991         {
   991         {
   992         return (iViewManager->GetNextViewIconL());
   992         return (iViewManager->GetNextViewIconL());
   993         }
   993         }
   994     
   994     
   995     TRACE_EXIT_POINT;
   995     TRACE_EXIT_POINT;
   996     return iViewManager->IconsL().GetIconL(aIndex);
   996     return iViewManager->IconsL().GetIconL(aIndex,aViewId);
   997     }
   997     }
   998 
   998 
   999 // ----------------------------------------------------------------------------
   999 // ----------------------------------------------------------------------------
  1000 // CCalenController::MultipleDbManager
  1000 // CCalenController::MultipleDbManager
  1001 // Returns a reference to the CCalenMultipleDbManager
  1001 // Returns a reference to the CCalenMultipleDbManager