cmmanager/cmmgr/Framework/Inc/destlistitemlist.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:23:51 +0100
branchRCL_3
changeset 58 83ca720e2b9a
parent 0 5a93021fdf25
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Declaration of the CDestListItemList class.
*
*/

#ifndef CDestLISTITEMLIST_H
#define CDestLISTITEMLIST_H

//  INCLUDES
#include <e32base.h>

// FORWARD DECLARATION
class CDestListItem;

/**
 *  A list of CDestListItem-s pointers; items are owned.
 *
 *  @lib cmmanager.lib
 *  @since S60 v3.2
 */
NONSHARABLE_CLASS( CDestListItemList ) : public CArrayPtrFlat<CDestListItem>
    {
    public:  // Constructors and destructor

        /**
        * C++ default constructor.
        */
        CDestListItemList();

        /**
        * Destructor. Items in the list are destroyed.
        */
        virtual ~CDestListItemList();

    public:  // New methods

        /**
        * Get pointer to the item having aUid,
        * or NULL if no such item is in the
        * list.
        * @param aUid Uid of item to get.
        * @return Pointer to the item having uid aUid, or NULL. Ownership
        * not passed (the list still owns the item).
        */
        CDestListItem* ItemForUid( TUint32 aUid ) const;
    };

#endif