bearermanagement/mpm/inc/mpmserver.h
branchRCL_3
changeset 15 4dc3bb0099b0
parent 8 2e6c4614c58e
child 17 c14618f9de99
equal deleted inserted replaced
13:68f0c7cd80ec 15:4dc3bb0099b0
   123     };
   123     };
   124 
   124 
   125 // Which component initiated sending preferred IAP notifications
   125 // Which component initiated sending preferred IAP notifications
   126 enum TPrefIAPNotifCaller
   126 enum TPrefIAPNotifCaller
   127     {
   127     {
   128     EConnMon = 0, 
   128     EConnMon = 0,
       
   129     EConnMonEvent,
   129     EBearerMan, 
   130     EBearerMan, 
   130     EConfirmDlgRoaming, 
   131     EConfirmDlgRoaming, 
   131     EConfirmDlgStarting
   132     EConfirmDlgStarting
   132     };
   133     };
   133 
   134 
   340 
   341 
   341         /**
   342         /**
   342         * Checks if the connection is started for the Iap Id.
   343         * Checks if the connection is started for the Iap Id.
   343         * @since 3.2
   344         * @since 3.2
   344         * @param aIapId IAP Id of the connection
   345         * @param aIapId IAP Id of the connection
   345         */
   346         * @param aConnId Connection Id
   346         TBool CheckIfStarted( const TUint32 aIapId );
   347         */
       
   348         TBool CheckIfStarted( const TUint32 aIapId, 
       
   349                               const TConnectionId aConnId );
   347 
   350 
   348         /**
   351         /**
   349         * Checks if a connection is started with wlan iap.
   352         * Checks if a connection is started with wlan iap.
   350         * @since 3.2
   353         * @since 3.2
   351         * @param aCdbAccess
   354         * @param aCdbAccess
   435         void RemoveSession( const CMPMServerSession* aSession );
   438         void RemoveSession( const CMPMServerSession* aSession );
   436 
   439 
   437         /**
   440         /**
   438         * Notify each session about IAP availability change.
   441         * Notify each session about IAP availability change.
   439         * @since 3.1
   442         * @since 3.1
   440         * @param aIapInfo Info about available IAPs 
   443         * @param aIapInfo Info about available IAPs
   441         */
   444         * @param aCaller Identifies the calling context 
   442         void NotifyBMPrefIapL( const TConnMonIapInfo& aIapInfo );
   445         */
       
   446         void NotifyBMPrefIapL( const TConnMonIapInfo& aIapInfo,
       
   447                                const TPrefIAPNotifCaller aCaller );
   443 
   448 
   444         /**
   449         /**
   445         * Update Connection dialog of each session
   450         * Update Connection dialog of each session
   446         * @since 3.2
   451         * @since 3.2
   447         */
   452         */
   483         * @return KErrNone if successful, otherwise one of the
   488         * @return KErrNone if successful, otherwise one of the
   484         * system-wide error codes 
   489         * system-wide error codes 
   485         */
   490         */
   486         TInt HandleServerUnblackListIap( const TConnectionId aConnId, 
   491         TInt HandleServerUnblackListIap( const TConnectionId aConnId, 
   487                                          TUint32             aIapId );
   492                                          TUint32             aIapId );
   488 
       
   489         /**
       
   490         * Handling of unblacklisting all IAPs for certain category.
       
   491         * @since 3.2
       
   492         * @param aConnId Connection Id
       
   493         * @param aCategory Either connection lifetime or temporary. 
       
   494         * @return KErrNone if successful, otherwise one of the
       
   495         * system-wide error codes 
       
   496         */
       
   497         TInt HandleServerUnblackListIap( const TConnectionId aConnId, 
       
   498                                          TBlacklistCategory  aCategory );
       
   499 
   493 
   500         /**
   494         /**
   501         * Handling of unblacklisting all IAPs for certain category.
   495         * Handling of unblacklisting all IAPs for certain category.
   502         * @since 3.2
   496         * @since 3.2
   503         * @param aCategory Either connection lifetime or temporary. 
   497         * @param aCategory Either connection lifetime or temporary.