cmconnectionmethod.h

Go to the documentation of this file.
00001 /*
00002 * ===========================================================================
00003 *  Name        : cmconnectionmethod.h
00004 *  Part of     : Networking Utilities / Connection Method Manager
00005 *  Description : Connection Method interface class.
00006 *  Version     : %version: 11 %
00007 *
00008 *  Copyright © 2006 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ===========================================================================
00017 */
00018 #ifndef CMCONNECTIONMETHOD_H
00019 #define CMCONNECTIONMETHOD_H
00020 
00021 // INCLUDES
00022 #include <e32base.h>
00023 #include <cmconnectionmethoddef.h>
00024 
00025 // CLASS DECLARATION
00026 class CCmPluginBaseEng;
00027 class RCmDestination;
00028 
00034 NONSHARABLE_CLASS( RCmConnectionMethod )
00035     {
00036     //=====================================================================
00037     // Constructors/Destructors
00038     // 
00039     public:
00040     
00044         IMPORT_C RCmConnectionMethod();
00045 
00046 
00050         IMPORT_C RCmConnectionMethod(const RCmConnectionMethod& aItem);
00051 
00052 
00056         IMPORT_C ~RCmConnectionMethod();
00057 
00058     //=====================================================================
00059     // API functions
00060     public:
00061     
00067         IMPORT_C void Close();
00068         
00076         IMPORT_C TUint32 GetIntAttributeL( TUint32 aAttribute ) const;
00077 
00085         IMPORT_C TBool GetBoolAttributeL( TUint32 aAttribute ) const;
00086 
00095         IMPORT_C HBufC* GetStringAttributeL( TUint32 aAttribute ) const;
00096         
00105         IMPORT_C HBufC8* GetString8AttributeL( 
00106                                         const TUint32 aAttribute ) const;
00107 
00114         IMPORT_C RCmDestination DestinationL() const;
00115 
00116         
00124         IMPORT_C TBool operator==( RCmConnectionMethod& aConnMethod ) const;
00125         
00133         IMPORT_C TBool operator!=( RCmConnectionMethod& aConnMethod ) const;
00134         
00135 
00142         IMPORT_C RCmConnectionMethod& operator=(const RCmConnectionMethod& 
00143                                                     aConnMethod);
00144     private:
00145     
00146         friend class RCmDestination;
00147         friend class RCmManager;
00148         
00149     private:
00150         
00154         CCmPluginBaseEng* iImplementation;
00155     };
00156 
00157 #include <cmconnectionmethod.inl>
00158     
00159 // CMCONNECTIONMETHOD_H
00160 #endif

Copyright © Nokia Corporation 2001-2008
Back to top