imsrv_plat/ximp_core_feature_plugin_api/inc/ximpitemparentbase.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     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:  Item parent interface.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CXIMPITEMPARENTBASE_H
       
    19 #define CXIMPITEMPARENTBASE_H
       
    20 
       
    21 class CXIMPSubscriptionItemBase;
       
    22 
       
    23 class MXIMPItemParentBase
       
    24 	{
       
    25 	public:
       
    26 	 /**
       
    27      * Register item for expiration purposes.
       
    28      */   
       
    29     virtual void RegisterExpiringItemL( CXIMPSubscriptionItemBase* aExpireItem ) = 0;
       
    30     
       
    31     /**
       
    32      * Unregister item from expiration purposes.
       
    33      */
       
    34     virtual void UnregisterExpiringItem( CXIMPSubscriptionItemBase* aExpireItem ) = 0;
       
    35     
       
    36     /**
       
    37      * Get requested object
       
    38      */
       
    39     virtual TAny* GetInterface(TInt aInterfaceId) = 0;
       
    40     
       
    41 protected: // Destruction
       
    42     
       
    43     /**
       
    44      * Object cannot be delted through this interface
       
    45      */
       
    46     virtual ~MXIMPItemParentBase(){}
       
    47 
       
    48 	};
       
    49 
       
    50 
       
    51 #endif //CXIMPITEMPARENTBASE_H