Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:07, 23 January 2008.

How to Delete an event from Log?

From Forum Nokia Wiki

DeleteEvent(CLogEvent *aEvent)
{
                RFs iFs;
		iFs.Connect();
		iLogClient = CLogClient::NewL(iFs);
		state = DELETING;
		iId = aEvent->Id();
		CActiveScheduler::Add(this);
		TLogFlags iFlags = aEvent->Flags();		
		iFlags = KLogFlagsMask | KLogEventRead;
		aEvent->SetFlags(iFlags);
		iLogClient->DeleteEvent(iId, iStatus);
		if (iStatus == KRequestPending)
		{
			state = DONE;
			SetActive();
		}
}

Also an example for deleting log entries for SMS messages, especially for Delivery reports is also illustrated in SMS DeliveryReport Deleting Example.

Related Discussions
Thread Thread Starter Forum Replies Last Post
Nokia Smart Expert - solve this sound problem tsoh_tan Mobile Java Media (Graphics & Sounds) 0 2003-10-30 04:36
How can i delete sms log Kumar Ranjeet General Symbian C++ 0 2007-06-08 14:12
CLogViewEvent returns deleted items sasa General Symbian C++ 1 2007-03-07 04:14
Call Log Problem map123 General Symbian C++ 7 2007-03-07 16:08
How capture the commands sriramadasu General Symbian C++ 7 2007-04-20 02:53
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX