CApNetworks Class Reference

API published in: S60 1st Ed
API deprecated in: S60 3rd Ed FP 2

Link against: apengine.lib

Capability Information

Required Capabilities

None

Exceptions

Functions modifying database (Create, Update, Delete) need WriteDeviceData. (CApDataHandler, CApUtils Setxxx functions)


#include <apnetworks.h>

Detailed Description

This class is used to help client's network selection.

Public Member Functions

virtual IMPORT_C  ~CApNetworks ()
  Destructor.
IMPORT_C TUint32  Count () const
  Counts the items in the list.
IMPORT_C const TDesC &  NameL (TUint32 aUid) const
  Gets the name of the network group with the given UID Ownership of the returned text is not passed.
IMPORT_C TInt  AllListItemDataL (CApNetworkItemList &aList)
  Provides all data in a CApNetworkItemList array.

Static Public Member Functions

static IMPORT_C CApNetworks NewLC (CCommsDatabase &aDb)
  Two-phased constructor.

Constructor & Destructor Documentation

virtual IMPORT_C CApNetworks::~CApNetworks  )  [virtual]
 

Destructor.

Deprecated:

Member Function Documentation

IMPORT_C TInt CApNetworks::AllListItemDataL CApNetworkItemList aList  ) 
 

Provides all data in a CApNetworkItemList array.

Parameters:
aList  A reference to a CApNetworkItemList object to hold the values.
Returns:
The number of items in the list. All elements in the aList array and their memory will be freed inside the routine. The routine expands or shrinks the array as necessary to minimize memory consumption.
Deprecated:
IMPORT_C TUint32 CApNetworks::Count  )  const
 

Counts the items in the list.

Returns:
The number of items in the list.
Deprecated:
IMPORT_C const TDesC& CApNetworks::NameL TUint32  aUid  )  const
 

Gets the name of the network group with the given UID Ownership of the returned text is not passed.

Parameters:
aUid  The uid of the network item
Returns:
The name of the network group
Deprecated:
static IMPORT_C CApNetworks* CApNetworks::NewLC CCommsDatabase &  aDb  )  [static]
 

Two-phased constructor.

Leaves on failure, places instance on cleanup stack.

Parameters:
aDb  a reference to a CCommsDataBase.
Returns:
The constructed CApNetworks.
Deprecated:

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top