os/persistentdata/loggingservices/eventlogger/LogServ/inc/LogServOperationManager.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 __LOGSERVOPERATIONMANAGER_H__
    17 #define __LOGSERVOPERATIONMANAGER_H__
    18 
    19 #include "LogServDefs.h"
    20 #include "LogCliServShared.h"
    21 
    22 // Classes referenced
    23 class CLogServOperationBase;
    24 
    25 
    26 /**
    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.
    30 
    31 @see CLogServOperationBase
    32 @see LogServFactory 
    33 
    34 @internalComponent
    35 */
    36 class MLogServOperationManager
    37 	{
    38 public:
    39 
    40 	/**
    41 	 *
    42 	 */
    43 	virtual void OMOperationQueueAdd(CLogServOperationBase& aOperation) = 0;
    44 	virtual void OMOperationQueueRemove(CLogServOperationBase& aOperation) = 0;
    45 
    46 	/**
    47 	 * Get the result of a specific operation
    48 	 */
    49 	virtual void OMGetResultL(TLogOperationId aId, 
    50                               TLogServSessionId aSessionId, const RMessage2& aMessageToWriteTo) = 0;
    51 
    52 	/**
    53 	 * Cancel a specific operation
    54 	 */
    55 	virtual void OMCancel(TLogOperationId aId, TLogServSessionId aSessionId, TBool aCompleteRequest) = 0;
    56 	virtual void OMCancel(TLogServSessionId aSessionId, TBool aCompleteRequest) = 0;
    57 	};
    58 
    59 
    60 #endif
    61