os/persistentdata/loggingservices/eventlogger/LogServ/inc/LogServOperationManager.h
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 __LOGSERVOPERATIONMANAGER_H__
17 #define __LOGSERVOPERATIONMANAGER_H__
19 #include "LogServDefs.h"
20 #include "LogCliServShared.h"
23 class CLogServOperationBase;
27 An interface class offering methods for adding/removing operations to/from the operations queue.
28 The LogEng server maintains an operations queue where all pending tasks such as adding/changing events
29 are kept and scheduled later for execution.
31 @see CLogServOperationBase
36 class MLogServOperationManager
43 virtual void OMOperationQueueAdd(CLogServOperationBase& aOperation) = 0;
44 virtual void OMOperationQueueRemove(CLogServOperationBase& aOperation) = 0;
47 * Get the result of a specific operation
49 virtual void OMGetResultL(TLogOperationId aId,
50 TLogServSessionId aSessionId, const RMessage2& aMessageToWriteTo) = 0;
53 * Cancel a specific operation
55 virtual void OMCancel(TLogOperationId aId, TLogServSessionId aSessionId, TBool aCompleteRequest) = 0;
56 virtual void OMCancel(TLogServSessionId aSessionId, TBool aCompleteRequest) = 0;