harvester/server/src/harvesteroomao.cpp
changeset 1 acef663c1218
parent 0 c53acadfccc6
child 3 6752808b2036
equal deleted inserted replaced
0:c53acadfccc6 1:acef663c1218
    71 //
    71 //
    72 void CHarvesterOomAO::RunL()
    72 void CHarvesterOomAO::RunL()
    73 	{
    73 	{
    74 	User::LeaveIfError( iStatus.Int() );
    74 	User::LeaveIfError( iStatus.Int() );
    75 	
    75 	
    76 	TInt oomStatus(0);
    76 	TInt oomStatus( 0 );
    77 	TInt err = iOomMsgQueue.Receive( oomStatus );
    77 	const TInt err = iOomMsgQueue.Receive( oomStatus );
    78 	
    78 	
    79 	if( oomStatus == TMdsOomFreeRam )
    79 	if( oomStatus == TMdsOomFreeRam )
    80 		{
    80 		{
    81 		iObserver->MemoryLow();
    81 		iObserver->MemoryLow();
    82 		}
    82 		}