loggingservices/eventlogger/LogServ/inc/LOGDUP.H
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     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 __LOGDUP_H__
       
    17 #define __LOGDUP_H__
       
    18 
       
    19 #include <logwrap.h>
       
    20 
       
    21 // Classes referenced
       
    22 class CLogFilter;
       
    23 class CLogFilterList;
       
    24 class MLogServDatabaseTransactionInterface;
       
    25 
       
    26 /**
       
    27 Updates the records of duplicated events in the recent list.
       
    28 
       
    29 @see CLogFilterList
       
    30 @see CLogEvent
       
    31 @see MLogServDatabaseTransactionInterface
       
    32 @internalComponent
       
    33 */
       
    34 class CLogDuplicate : public CLogActive
       
    35 	{
       
    36 public:
       
    37 	static CLogDuplicate* NewL(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority);
       
    38 	~CLogDuplicate();
       
    39 	TBool StartL(TLogId aId, TLogRecentList aRecentList, const CLogFilter& aFilter, TRequestStatus& aStatus);
       
    40 
       
    41 private:
       
    42 	CLogDuplicate(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority);
       
    43 	void ConstructL();
       
    44 	//
       
    45 	void DoRunL();
       
    46 	void DoComplete(TInt& aStatus);
       
    47 	//
       
    48 private:
       
    49 	MLogServDatabaseTransactionInterface& iDatabase;
       
    50 	CLogFilterList* iFilterList;
       
    51 	TLogId iId;
       
    52 	TLogRecentList iRecentList;
       
    53 	};
       
    54 
       
    55 #endif