contacts_plat/cca_view_plugin_api/inc/mccaparentcleaner.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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: Interface class for managing CCA plugin views.
       
    15 *
       
    16 */
       
    17 #ifndef MCCAPARENTCLEANER_H
       
    18 #define MCCAPARENTCLEANER_H
       
    19 
       
    20 /**
       
    21  * Interface class for managing CCA plugin views.
       
    22  */
       
    23 class MCcaParentCleaner
       
    24     {
       
    25     public:
       
    26 
       
    27        /**
       
    28          * Decrements refrerence count for children. When refrence count
       
    29 	     * reaches zero, the instance of MCcaParentCleaner can be deleted.
       
    30          *
       
    31          * @since S60 v5.0
       
    32          * @return Remaining number of childs
       
    33          */    
       
    34         virtual TInt DeletedChild() = 0;
       
    35 
       
    36        /**
       
    37          * Destructor
       
    38          *
       
    39          * @since S60 v5.0
       
    40          */            
       
    41         virtual ~MCcaParentCleaner() {}
       
    42     };
       
    43 
       
    44 #endif //MCCAPARENTCLEANER_H