cmmanager/cmmgr/Framework/Inc/destlistitemlist.h
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 21 b8e8e15e80f2
child 23 7ec726f93df1
child 28 860702281757
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
     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:  Declaration of the CDestListItemList class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CDestLISTITEMLIST_H
       
    19 #define CDestLISTITEMLIST_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // FORWARD DECLARATION
       
    25 class CDestListItem;
       
    26 
       
    27 /**
       
    28  *  A list of CDestListItem-s pointers; items are owned.
       
    29  *
       
    30  *  @lib cmmanager.lib
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 NONSHARABLE_CLASS( CDestListItemList ) : public CArrayPtrFlat<CDestListItem>
       
    34     {
       
    35     public:  // Constructors and destructor
       
    36 
       
    37         /**
       
    38         * C++ default constructor.
       
    39         */
       
    40         CDestListItemList();
       
    41 
       
    42         /**
       
    43         * Destructor. Items in the list are destroyed.
       
    44         */
       
    45         virtual ~CDestListItemList();
       
    46 
       
    47     public:  // New methods
       
    48 
       
    49         /**
       
    50         * Get pointer to the item having aUid,
       
    51         * or NULL if no such item is in the
       
    52         * list.
       
    53         * @param aUid Uid of item to get.
       
    54         * @return Pointer to the item having uid aUid, or NULL. Ownership
       
    55         * not passed (the list still owns the item).
       
    56         */
       
    57         CDestListItem* ItemForUid( TUint32 aUid ) const;
       
    58     };
       
    59 
       
    60 #endif