Ok here’s a bog standard piece of Symbian C++. What’s wrong? Hint, its all in the status…
void CConnectionProgressObserver::RunL()
{
if (KErrNone == iStatus.Int())
{
iConnection.ProgressNotification(iProgressBuf, iStatus);
SetActive();
}
// OnProgressNotificitionL is
// a callback (void)(TNifProgress, TInt)
iNotify->OnProgressNotificitionL(iProgressBuf(), iStatus.Int());
}
Still didn’t get it? Read on…