Bug 1752 - Fixed malformed method pointers.
--- a/mulwidgets/gesturehelper/src/gesturehelperimpl.cpp Sun Mar 14 13:11:52 2010 +0000
+++ b/mulwidgets/gesturehelper/src/gesturehelperimpl.cpp Mon Mar 22 13:57:02 2010 -0700
@@ -131,9 +131,9 @@
{
CGestureHelperImpl* self = new ( ELeave ) CGestureHelperImpl( );
CleanupStack::PushL( self );
- self->iDoubleTapTimer = CCallbackTimer::NewL( *self, EmitFirstTapEventL,
+ self->iDoubleTapTimer = CCallbackTimer::NewL( *self, &CGestureHelperImpl::EmitFirstTapEventL,
KMaxDoubleTapDuration, EFalse ); // double tap is disabled by default
- self->iHoldingTimer = CCallbackTimer::NewL( *self, StartHoldingL,
+ self->iHoldingTimer = CCallbackTimer::NewL( *self, &CGestureHelperImpl::StartHoldingL,
KHoldDuration, ETrue ); // holding is enabled by default
self->iGesture = new ( ELeave ) CGesture();
self->iUnusedGesture = new ( ELeave ) CGesture();
--- a/mulwidgets/gesturehelper/src/gesturerecogniser.cpp Sun Mar 14 13:11:52 2010 +0000
+++ b/mulwidgets/gesturehelper/src/gesturerecogniser.cpp Mon Mar 22 13:57:02 2010 -0700
@@ -172,7 +172,7 @@
TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::operator[])(aPoints.Count() - 1), aRelevantAxis );
- TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[],toleranceRect );
+ TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[],toleranceRect );
if ( KErrNotFound != latestPointIndex )
{
return Direction( aPoints[latestPointIndex], LastPoint( aPoints ) );
@@ -190,7 +190,7 @@
TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::Raw)(0) );
- return KErrNotFound == LatestCertainPointIndex( aPoints, TPointArray::Raw,toleranceRect );
+ return KErrNotFound == LatestCertainPointIndex( aPoints, &TPointArray::Raw,toleranceRect );
}
// ----------------------------------------------------------------------------
@@ -251,7 +251,7 @@
TRect toleranceRect = ToleranceRect( (aPoints.TPointArray::operator[])(aPoints.Count() - 1), aRelevantAxis );
- TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[],toleranceRect );
+ TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[],toleranceRect );
if ( KErrNotFound != latestPointIndex )
{
return EGestureDrag;