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 // Deprecation warning
00026 #warning This header file has been deprecated. Will be removed in one of the next SDK releases.
00027  
00028  
00029 //  INCLUDES
00030 #include <commdb.h>
00031 #include <ApEngineVer.h>
00032 #include <ApEngineConsts.h>
00033 
00034 // FORWARD DECLARATIONS
00035 class CApNetworkItem;
00036 class CApNetworkItemList;
00037 
00038 // CLASS DECLARATION
00039 
00044 NONSHARABLE_CLASS( CApNetworks ) :public CBase
00045     {
00046     public:  // Constructors and destructor
00047 
00056         IMPORT_C static CApNetworks* NewLC( CCommsDatabase& aDb );
00057 
00058 
00064         IMPORT_C virtual ~CApNetworks();
00065 
00066 
00067     private:      // Constructors
00068 
00074         IMPORT_C CApNetworks();
00075 
00082         IMPORT_C void ConstructL( CCommsDatabase& aDb );
00083 
00084 
00085 
00086     public: // New functions
00087 
00094         IMPORT_C TUint32 Count() const;
00095 
00096 
00105         IMPORT_C const TDesC& NameL( TUint32 aUid ) const;
00106 
00107 
00108 
00121         IMPORT_C TInt AllListItemDataL( CApNetworkItemList& aList );
00122 
00123 
00124     private:
00130         TInt DoUpdateL();
00131 
00132 
00133 
00134     private:    // Data
00135         CCommsDatabase*             iDb;    // Does not own it!
00136         CApNetworkItemList*         iApList;
00137         TInt                        iCount;
00138     };
00139 
00140 // CAPNETWORKS_H
00141 #endif
00142 
00143 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top