ncdengine/provider/client/inc/ncdoperationproxyremovehandler.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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 M_NCDOPERATIONPROXYREMOVEHANDLER_H
       
    20 #define M_NCDOPERATIONPROXYREMOVEHANDLER_H
       
    21 
       
    22 class CNcdBaseOperationProxy;
       
    23 
       
    24 /**
       
    25  *  An interface for handling operation proxy removal.
       
    26  *
       
    27  *  This interface is used to notify operation proxy manager that the
       
    28  *  operation needs to be removed from it's op array. Manager needs to be
       
    29  *  explicitly notified to remove the operation proxys because operation
       
    30  *  proxys, being reference counting objects, handle their own destruction.
       
    31  * 
       
    32  */
       
    33 class MNcdOperationProxyRemoveHandler                                    
       
    34     {
       
    35     
       
    36 public:
       
    37 
       
    38     /**
       
    39      *
       
    40      */
       
    41     virtual ~MNcdOperationProxyRemoveHandler() {}
       
    42 
       
    43     /**
       
    44      * Removes operation proxy.
       
    45      *
       
    46      * @param aOperationProxy The op proxy to remove.
       
    47      */
       
    48     virtual void RemoveOperationProxy(
       
    49                     CNcdBaseOperationProxy& aOperationProxy ) = 0;
       
    50 	};
       
    51 	
       
    52 	
       
    53 #endif //  M_NCDOPERATIONPROXYREMOVEHANDLER_H