omaprovisioning/provisioning/WAPAdapter/Inc/CWPWAPItemBAse.h
changeset 24 bf47f3b79154
parent 0 b497e44ab2fc
equal deleted inserted replaced
22:19fb38abab1d 24:bf47f3b79154
    22 
    22 
    23 // INCLUDES
    23 // INCLUDES
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <MWPVisitor.h>
    25 #include <MWPVisitor.h>
    26 #include "MWPWAPItemBase.h"
    26 #include "MWPWAPItemBase.h"
       
    27 #include <cmmanagerext.h>
       
    28 #include <cmconnectionmethodext.h>
    27 
    29 
    28 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    29 class CCommsDatabase;
    31 class CCommsDatabase;
    30 class CApDataHandler;
    32 
    31 class CApAccessPointItem;
       
    32 
    33 
    33 // CLASS DECLARATION
    34 // CLASS DECLARATION
    34 
    35 
    35 /**
    36 /**
    36  * CWPWAPItemBase is a base class for browser settings.
    37  * CWPWAPItemBase is a base class for browser settings.
    71         */
    72         */
    72         CWPWAPItemBase( const TDesC& aTitle, 
    73         CWPWAPItemBase( const TDesC& aTitle, 
    73             const TDesC& aDefaultName, 
    74             const TDesC& aDefaultName, 
    74             CWPCharacteristic& aCharacteristic, 
    75             CWPCharacteristic& aCharacteristic, 
    75             CCommsDatabase*& aCommsDb, 
    76             CCommsDatabase*& aCommsDb, 
    76             CApDataHandler*& aAPHandler );
    77             RCmManagerExt*& aCmManager);
    77 
    78 
    78         /**
    79         /**
    79         * 2nd phase base constructor. Derived classes must call this.
    80         * 2nd phase base constructor. Derived classes must call this.
    80         */
    81         */
    81         void BaseConstructL();
    82         void BaseConstructL();
    94         /**
    95         /**
    95         * Writes a home page to an access point. If access point already
    96         * Writes a home page to an access point. If access point already
    96         * has a home page, create a new one.
    97         * has a home page, create a new one.
    97         * @param aItem Access point to access
    98         * @param aItem Access point to access
    98         */
    99         */
    99         void WriteHomePageL( CApAccessPointItem& aItem );
   100         void WriteHomePageL( RCmConnectionMethodExt& aCmItem );
   100 
   101 
   101         /**
   102         /**
   102         * Create a valid name for the access point.
   103         * Create a valid name for the access point.
   103         * @param aName The base name for access point
   104         * @param aName The base name for access point
   104         * @param aDb CommsDb instance
   105         * @param aDb CommsDb instance
   131         const TDesC& iDefaultName;
   132         const TDesC& iDefaultName;
   132 
   133 
   133         // Comms db. Refs.
   134         // Comms db. Refs.
   134         CCommsDatabase*& iCommsDb;
   135         CCommsDatabase*& iCommsDb;
   135 
   136 
   136         // APEngine. Refs.
   137                 // @var Pointer to Connection Method Manager that is required to access
   137         CApDataHandler*& iAPHandler;
   138         // Access Point data
       
   139         RCmManagerExt*&   iCmManager;
   138     };
   140     };
   139 
   141 
   140 #endif  // CWPWAPITEMBASE_H
   142 #endif  // CWPWAPITEMBASE_H
   141             
   143             
   142 // End of File
   144 // End of File