homescreensrv_plat/sapi_menucontent/mcsservice/inc/mcsoperationmanager.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MCSOPERATIONMANAGER_H_
       
    20 #define __MCSOPERATIONMANAGER_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class RMcsOperationManager
       
    25     {
       
    26 public:
       
    27 
       
    28 		/** 
       
    29 	    * Default constructor.
       
    30 		*/
       
    31 	    RMcsOperationManager( );
       
    32 		
       
    33 		/**
       
    34 	           * Destructor.
       
    35 		*/
       
    36 	    virtual ~RMcsOperationManager();
       
    37 
       
    38 
       
    39 		/**
       
    40 		* @param aOperation pointer to active object to be added to 
       
    41 		*       iOperations array. AddL transfers AO ownership to 
       
    42 		*       RMcsOperationManager object
       
    43 		*/
       
    44 		void AddL( CActive* aOperation );
       
    45 
       
    46 		/**
       
    47 		* @param aOperation pointer to active object to be removed
       
    48 		*       from the iOperations array 
       
    49 		*
       
    50 		*/
       
    51 		void Remove( CActive* aOperation );
       
    52 		
       
    53 		/**
       
    54 		*/
       
    55 		void Close();
       
    56 		
       
    57 	
       
    58 private:
       
    59     RPointerArray< CActive > iOperations;
       
    60     };
       
    61 
       
    62 #endif /*__MCSOPERATIONMANAGER_H_*/