Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Declaration of the CApNetworks class.
22 // Deprecation warning
23 #warning This header file has been deprecated. Will be removed in one of the next SDK releases.
28 #include <ApEngineVer.h>
29 #include <ApEngineConsts.h>
31 // FORWARD DECLARATIONS
33 class CApNetworkItemList;
38 * This class is used to help client's network selection.
41 NONSHARABLE_CLASS( CApNetworks ) :public CBase
43 public: // Constructors and destructor
46 * Two-phased constructor. Leaves on failure, places instance
48 * @param aDb a reference to a CCommsDataBase.
49 * @return The constructed CApNetworks.
53 IMPORT_C static CApNetworks* NewLC( CCommsDatabase& aDb );
61 IMPORT_C virtual ~CApNetworks();
64 private: // Constructors
67 * C++ default constructor.
71 IMPORT_C CApNetworks();
74 * Second-phase constructor.
75 * @param aDb The database
79 IMPORT_C void ConstructL( CCommsDatabase& aDb );
83 public: // New functions
86 * Counts the items in the list
87 * @return The number of items in the list.
91 IMPORT_C TUint32 Count() const;
95 * Gets the name of the network group with the given UID
96 * Ownership of the returned text is not passed.
97 * @param aUid The uid of the network item
98 * @return The name of the network group
102 IMPORT_C const TDesC& NameL( TUint32 aUid ) const;
107 * Provides all data in a CApNetworkItemList array.
108 * @param aList A reference to a CApNetworkItemList object
109 * to hold the values.
110 * @return The number of items in the list.
111 * All elements in the aList array and their memory
112 * will be freed inside the routine.
113 * The routine expands or shrinks the array as necessary
114 * to minimize memory consumption.
118 IMPORT_C TInt AllListItemDataL( CApNetworkItemList& aList );
123 * This function updates the member data according to the
124 * current filter settings.
125 * @return Error code.
132 CCommsDatabase* iDb; // Does not own it!
133 CApNetworkItemList* iApList;
137 #endif // CAPNETWORKS_H