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

apnetworkitem.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : ApNetworkItem.h
00004 *  Part of  : Access Point Engine
00005 *
00006 *  Description:
00007 *     Declaration of the CApNetworkItem class.
00008 *  Version:
00009 *
00010 *  Copyright (C) 2002 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation. All rights are reserved. Copying, 
00014 *  including reproducing, storing,  adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia Corporation. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia Corporation.
00019 *
00020 * ============================================================================
00021 */
00022 
00023 #ifndef CAPNETWORKITEM_H
00024 #define CAPNETWORKITEM_H
00025 
00026 //  INCLUDES
00027 #include <commdb.h>
00028 #include <ApEngineVer.h>
00029 #include <ApEngineConsts.h>
00030 
00031 // CLASS DECLARATION
00035 NONSHARABLE_CLASS( CApNetworkItem ) :public CBase
00040     {
00041     public:  // Constructors and destructor
00042 
00049         IMPORT_C static CApNetworkItem* NewLC();
00050 
00051 
00059         IMPORT_C static CApNetworkItem* NewLC( CApNetworkItem* aItem );
00060 
00061 
00066         IMPORT_C virtual ~CApNetworkItem();
00067 
00068 
00075         IMPORT_C void CopyFromL( const CApNetworkItem& aCopyFrom );
00076 
00077 
00078     private:      // Constructors
00083         IMPORT_C CApNetworkItem();
00084 
00085 
00092         IMPORT_C void ConstructL( TUint32 aUid,
00093                                   const TDesC& aName
00094                                   );
00095 
00096 
00101         IMPORT_C void ConstructL();
00102 
00103 
00104     public: // New functions
00105 
00112         IMPORT_C const TDesC& Name() const;
00113 
00114 
00120         IMPORT_C TUint32 Uid() const;
00121 
00122 
00123 
00129         IMPORT_C void SetUid( TUint32 aUid );
00130 
00131 
00137         IMPORT_C void SetNameL( const TDesC& aName );
00138 
00139 
00140     private:    // Data
00141         TUint32         iUid;           
00142         HBufC*          iName;          
00143 
00144     };
00145 
00146 
00147 
00148 // CAPNETWORKITEM_H
00149 #endif
00150 
00151 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top