diff -r 05bc53fe583b -r 83ca720e2b9a cmmanager/cmmgr/Framework/Inc/destlistitemlist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cmmanager/cmmgr/Framework/Inc/destlistitemlist.h Wed Sep 01 12:23:51 2010 +0100 @@ -0,0 +1,60 @@ +/* +* 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 + +// 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 + { + 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