epoc32/include/mw/apnetworkitemlist.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 apnetworkitemlist.h
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declaration of the CApNetworkItemList class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAPNETWORKITEMLIST_H
       
    20 #define CAPNETWORKITEMLIST_H
       
    21 
       
    22 // Deprecation warning
       
    23 #warning This header file has been deprecated. Will be removed in one of the next SDK releases.
       
    24  
       
    25  
       
    26 //  INCLUDES
       
    27 #include <e32base.h>
       
    28 #include <ApEngineVer.h>
       
    29 
       
    30 // FORWARD DECLARATION
       
    31 
       
    32 class CApNetworkItem;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 /**
       
    36 *  A list of CApNetworkItem-s pointers; items are owned.
       
    37 */
       
    38 class CApNetworkItemList : public CArrayPtrFlat<CApNetworkItem>
       
    39     {
       
    40     public:  // Constructors and destructor
       
    41 
       
    42         /**
       
    43         * C++ default constructor.
       
    44         *
       
    45         * @deprecated
       
    46         */
       
    47         IMPORT_C CApNetworkItemList();
       
    48 
       
    49         /**
       
    50         * Destructor. Items in the list are destroyed.
       
    51         *
       
    52         * @deprecated
       
    53         */
       
    54         IMPORT_C virtual ~CApNetworkItemList();
       
    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 const CApNetworkItem* ItemForUid( TUint32 aUid ) const;
       
    69 
       
    70     };
       
    71 
       
    72 #endif // CAPNETWORKITEMLIST_H
       
    73 
       
    74 // End of File