S60 3rd Edition API Reference: apnetworks.h Source File

apnetworks.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : ApNetworks.h
00004 *  Part of  : Access Point Engine
00005 *
00006 *  Description: Declaration of the CApNetworks class.
00007 *  Version:
00008 *
00009 *  Copyright (C) 2002 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing,  adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 *
00019 * ============================================================================
00020 */
00021 
00022 #ifndef CAPNETWORKS_H
00023 #define CAPNETWORKS_H
00024 
00025 //  INCLUDES
00026 #include <commdb.h>
00027 #include <ApEngineVer.h>
00028 #include <ApEngineConsts.h>
00029 
00030 // FORWARD DECLARATIONS
00031 class CApNetworkItem;
00032 class CApNetworkItemList;
00033 
00034 // CLASS DECLARATION
00035 
00040 NONSHARABLE_CLASS( CApNetworks ) :public CBase
00041     {
00042     public:  // Constructors and destructor
00043 
00051         IMPORT_C static CApNetworks* NewLC( CCommsDatabase& aDb );
00052 
00053 
00058         IMPORT_C virtual ~CApNetworks();
00059 
00060 
00061     private:      // Constructors
00062 
00067         IMPORT_C CApNetworks();
00068 
00074         IMPORT_C void ConstructL( CCommsDatabase& aDb );
00075 
00076 
00077 
00078     public: // New functions
00079 
00085         IMPORT_C TUint32 Count() const;
00086 
00087 
00095         IMPORT_C const TDesC& NameL( TUint32 aUid ) const;
00096 
00097 
00098 
00110         IMPORT_C TInt AllListItemDataL( CApNetworkItemList& aList );
00111 
00112 
00113     private:
00119         TInt DoUpdateL();
00120 
00121 
00122 
00123     private:    // Data
00124         CCommsDatabase*             iDb;    // Does not own it!
00125         CApNetworkItemList*         iApList;
00126         TInt                        iCount;
00127     };
00128 
00129 // CAPNETWORKS_H
00130 #endif
00131 
00132 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top