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 // Deprecation warning
00027 #warning This header file has been deprecated. Will be removed in one of the next SDK releases.
00028  
00029  
00030 //  INCLUDES
00031 #include <commdb.h>
00032 #include <ApEngineVer.h>
00033 #include <ApEngineConsts.h>
00034 
00035 // CLASS DECLARATION
00039 NONSHARABLE_CLASS( CApNetworkItem ) :public CBase
00044     {
00045     public:  // Constructors and destructor
00046 
00054         IMPORT_C static CApNetworkItem* NewLC();
00055 
00056 
00065         IMPORT_C static CApNetworkItem* NewLC( CApNetworkItem* aItem );
00066 
00067 
00073         IMPORT_C virtual ~CApNetworkItem();
00074 
00075 
00083         IMPORT_C void CopyFromL( const CApNetworkItem& aCopyFrom );
00084 
00085 
00086     private:      // Constructors
00092         IMPORT_C CApNetworkItem();
00093 
00094 
00102         IMPORT_C void ConstructL( TUint32 aUid,
00103                                   const TDesC& aName
00104                                   );
00105 
00106 
00112         IMPORT_C void ConstructL();
00113 
00114 
00115     public: // New functions
00116 
00124         IMPORT_C const TDesC& Name() const;
00125 
00126 
00133         IMPORT_C TUint32 Uid() const;
00134 
00135 
00136 
00143         IMPORT_C void SetUid( TUint32 aUid );
00144 
00145 
00152         IMPORT_C void SetNameL( const TDesC& aName );
00153 
00154 
00155     private:    // Data
00156         TUint32         iUid;           
00157         HBufC*          iName;          
00158 
00159     };
00160 
00161 
00162 
00163 // CAPNETWORKITEM_H
00164 #endif
00165 
00166 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top