I have a class that currently intercepts mailbox events vis MMsvSessionObserver. I would also like to implement an RTimer event so I can delay another part of my processing (basically I have a synchronous function that checks GPS coords periodically - I want to wait until coords of sufficient "quality" have been obtained).
Can I in the same class as the one that implements MMsvSessionObserver also handle the active object RTimer?
My SMS handler RunL function is:
Thanks for any assistance,
User::LeaveIfError( iStatus != KErrNone );
// Determine the current operations progress.
// ProgressL returns an 8 bit descriptor.
TBufC8<KMsvProgressBufferLength> progress( iOperation->ProgressL() );
_LIT8( KCompare, "KErrNone" );
User::LeaveIfError( !progress.Compare( KCompare ) );
// The pointer to the current CMsvOperation object is no longer needed.
iOperation = NULL;
// Determine which request has finished.
switch ( iState )
// Once a message is moved to Outbox it is scheduled for sending.
TMsvEntry entry( iSmsMtm->Entry().Entry() );
TInt state( entry.SendingState() );
if ( state == KMsvSendStateWaiting || state == KMsvSendStateScheduled)