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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __LOGSERVTASKINTERFACE_H__
17 #define __LOGSERVTASKINTERFACE_H__
23 class TLogTransferWindow;
26 class CLogServViewBase;
29 An interface class for starting a LogEng operation.
30 Every time when CLogServOperationQueue::RunL() takes the execution control, an operation will be picked up
31 from the pending queue and the StartL() method of the operation - called, for example:
32 CLogServOpEventAdd::StartL(). The operation's StartL() method will read the client data and calls an
33 appropriate method from this interface - TaskEventAddL() for example.
35 @see CLogServOperationQueue
39 class MLogServTaskInterface
45 virtual void TaskEventAddL(TRequestStatus& aStatus, CLogEvent& aEvent, const RMessage2& aMessage) = 0;
46 virtual void TaskEventChangeL(TRequestStatus& aStatus, const CLogEvent& aEvent, const RMessage2& aMessage) = 0;
47 virtual void TaskEventGetL(TRequestStatus& aStatus, CLogEvent& aEvent, const RMessage2& aMessage) = 0;
48 virtual void TaskEventDeleteL(TRequestStatus& aStatus, TLogId aId, const RMessage2& aMessage) = 0;
53 virtual void TaskEventTypeAddL(TRequestStatus& aStatus, const CLogEventType& aEventType) = 0;
54 virtual void TaskEventTypeGetL(TRequestStatus& aStatus, const CLogEventType*& aEventType, TUid aUid) = 0;
55 virtual void TaskEventTypeChangeL(TRequestStatus& aStatus, const CLogEventType& aEventType) = 0;
56 virtual void TaskEventTypeDeleteL(TRequestStatus& aStatus, TUid aType) = 0;
61 virtual void TaskConfigGetL(TRequestStatus& aStatus, TLogConfig& aConfig) = 0;
62 virtual void TaskConfigChangeL(TRequestStatus& aStatus, const TLogConfig& aConfig) = 0;
67 virtual void TaskClearLogL(TRequestStatus& aStatus, const TTime& aDate
68 #ifdef SYMBIAN_ENABLE_EVENTLOGGER_DUALSIM
72 virtual void TaskClearRecentL(TRequestStatus& aStatus, TInt aRecentList
73 #ifdef SYMBIAN_ENABLE_EVENTLOGGER_DUALSIM
81 virtual void TaskMaintenanceStartL(TRequestStatus& aStatus, TBool aPurge) = 0;
84 * Window building tasks
86 virtual void TaskBuildWindowL(TRequestStatus& aStatus, const CLogServViewBase& aView,
87 const TLogTransferWindow& aWindow, const RMessage2& aMessage) = 0;
92 virtual void TaskCancelCurrent() = 0;