os/persistentdata/loggingservices/eventlogger/LogServ/inc/LOGDEL.H
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __LOGDEL_H__
    17 #define __LOGDEL_H__
    18 
    19 #include <logwrap.h>
    20 
    21 // Classes referenced
    22 class MLogServDatabaseTransactionInterface;
    23 
    24 /**
    25 Deletes an event from the LogEng database.
    26 
    27 @see CLogEvent
    28 @see MLogServDatabaseTransactionInterface
    29 @internalComponent
    30 */
    31 class CLogDeleteEvent : public CLogActive
    32 	{
    33 public:
    34 	static CLogDeleteEvent* NewL(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority);
    35 	~CLogDeleteEvent();
    36 	//
    37 	void StartL(TLogId aId, TRequestStatus& aStatus, const RMessage2& aMessage);
    38 	
    39 	//
    40 private:
    41 	CLogDeleteEvent(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority);
    42 	//
    43 	void DoRunL();
    44 	void DoComplete(TInt& aStatus);
    45 	void DoCancel();
    46 	//
    47 private:
    48 	MLogServDatabaseTransactionInterface& iDatabase;
    49 	TLogId iId;
    50 	RMessage2* iMessage;
    51 	};
    52 
    53 #endif