Namespaces
Variants
Actions

How to Delete an event from Log?

Jump to: navigation, search
Article Metadata

Code Example
Article
Created: eswar_illuri (28 May 2007)
Last edited: hamishwillee (23 Jul 2012)
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 File:SMS DeliveryReport Deleting.zip Example.

This page was last modified on 23 July 2012, at 08:22.
104 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved