diff -r 07e82e2b738b -r 51372538e3d3 calendarui/views/src/calencontainer.cpp --- a/calendarui/views/src/calencontainer.cpp Sun Jun 20 22:50:42 2010 +0200 +++ b/calendarui/views/src/calencontainer.cpp Sun Jun 20 22:55:39 2010 +0200 @@ -30,6 +30,7 @@ #include #include #include +#include // user includes #include "calendarui_debug.h" @@ -517,7 +518,7 @@ // (other items were commented in a header). // ---------------------------------------------------------------------------- // -CAknIconArray* CCalenContainer::CreateIconsL( const RArray& aIndexArray ) +CAknIconArray* CCalenContainer::CreateIconsL( const RArray& aIndexArray, const TInt aViewId ) { TRACE_ENTRY_POINT; const TInt iconCount( aIndexArray.Count() ); @@ -527,8 +528,8 @@ for( TInt i=0; iAppendL( iServices.GetIconL( static_cast(aIndexArray[i] ) )); - } + icons->AppendL( iServices.GetIconL( static_cast(aIndexArray[i] ), aViewId )); + } CleanupStack::Pop( icons ); TRACE_EXIT_POINT; return icons; @@ -876,4 +877,25 @@ TRACE_EXIT_POINT; } + +// ---------------------------------------------------------------------------- +// CCalenContainer::GenerateTactileFeedback() +// Generates tactile feedback on user touch action +// ---------------------------------------------------------------------------- +void CCalenContainer::GenerateTactileFeedback() + { + TRACE_ENTRY_POINT; + + if(!iFeedBack) + { + iFeedBack = MTouchFeedback::Instance(); + } + + if ( iFeedBack && iFeedBack->TouchFeedbackSupported() ) + { + iFeedBack->InstantFeedback( ETouchFeedbackBasic ); + } + + TRACE_EXIT_POINT; + } // End of File