70
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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 CApListItemList class.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef CAPLISTITEMLIST_H
|
|
20 |
#define CAPLISTITEMLIST_H
|
|
21 |
|
|
22 |
// Deprecation warning
|
|
23 |
#warning This header file has been deprecated and will be fully removed between weeks 12 and 18 of 2010. See Polonium CR #153 for details.
|
|
24 |
|
|
25 |
|
|
26 |
// INCLUDES
|
|
27 |
#include <e32base.h>
|
|
28 |
#include <ApEngineVer.h>
|
|
29 |
|
|
30 |
// FORWARD DECLARATION
|
|
31 |
|
|
32 |
class CApListItem;
|
|
33 |
|
|
34 |
// CLASS DECLARATION
|
|
35 |
/**
|
|
36 |
* A list of CApListItem-s pointers; items are owned.
|
|
37 |
*/
|
|
38 |
class CApListItemList : public CArrayPtrFlat<CApListItem>
|
|
39 |
{
|
|
40 |
public: // Constructors and destructor
|
|
41 |
|
|
42 |
/**
|
|
43 |
* C++ default constructor.
|
|
44 |
*
|
|
45 |
* @deprecated
|
|
46 |
*/
|
|
47 |
IMPORT_C CApListItemList();
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Destructor. Items in the list are destroyed.
|
|
51 |
*
|
|
52 |
* @deprecated
|
|
53 |
*/
|
|
54 |
IMPORT_C virtual ~CApListItemList();
|
|
55 |
|
|
56 |
public: // New methods
|
|
57 |
|
|
58 |
/**
|
|
59 |
* Get pointer to the item having aUid,
|
|
60 |
* or NULL if no such item is in the
|
|
61 |
* list.
|
|
62 |
* @param aUid Uid of item to get.
|
|
63 |
* @return Pointer to the item having uid aUid, or NULL. Ownership
|
|
64 |
* not passed (the list still owns the item).
|
|
65 |
*
|
|
66 |
* @deprecated
|
|
67 |
*/
|
|
68 |
IMPORT_C CApListItem* ItemForUid( TUint32 aUid ) const;
|
|
69 |
|
|
70 |
};
|
|
71 |
|
|
72 |
#endif
|
|
73 |
|
|
74 |
// End of File
|