diff -r c743ef5928ba -r f966699dea19 idlehomescreen/xmluirendering/uiengine/src/xncontroladapter.cpp --- a/idlehomescreen/xmluirendering/uiengine/src/xncontroladapter.cpp Tue Feb 02 00:04:13 2010 +0200 +++ b/idlehomescreen/xmluirendering/uiengine/src/xncontroladapter.cpp Fri Feb 19 22:42:37 2010 +0200 @@ -127,6 +127,8 @@ iLongTapDetector->SetTimeDelayBeforeAnimation( KLongTapStartDelay ); iLongTapDetector->SetLongTapDelay( KLongTapTimeDelay ); + iCurrentLongTapStartDelay = KLongTapStartDelay; + iCurrentLongTapTimeDelay = KLongTapTimeDelay; } } @@ -582,3 +584,32 @@ { return iImpl->ChildAdapters(); } + +// ----------------------------------------------------------------------------- +// CXnControlAdapter::SetLongTapDelay +// ----------------------------------------------------------------------------- +// +void CXnControlAdapter::SetLongTapDelays( const TInt aStartDelay, + const TInt aLongTapDelay ) + { + if ( iCurrentLongTapTimeDelay != aLongTapDelay) + { + iLongTapDetector->SetLongTapDelay( aLongTapDelay ); + iCurrentLongTapTimeDelay = aLongTapDelay; + } + if ( iCurrentLongTapStartDelay != aStartDelay ) + { + iLongTapDetector->SetTimeDelayBeforeAnimation( aStartDelay ); + iCurrentLongTapStartDelay = aStartDelay; + } + } + +// ----------------------------------------------------------------------------- +// CXnControlAdapter::SetDataL +// Empty default implemenatation for setting the data stream. +// ----------------------------------------------------------------------------- +// +EXPORT_C void CXnControlAdapter::SetDataL( const TDesC8& /*aData*/, const TDesC& /*aType*/, TInt /*aIndex*/ ) + { + + }