bearermanagement/mpm/inc/mpmiapselection.h
branchRCL_3
changeset 17 c14618f9de99
parent 12 ea6e024ea6f9
child 55 fc7b30ed2058
equal deleted inserted replaced
15:4dc3bb0099b0 17:c14618f9de99
    26 class CMPMDialog;
    26 class CMPMDialog;
    27 class CMPMWlanQueryDialog;
    27 class CMPMWlanQueryDialog;
    28 class CMPMConfirmDlgStarting;
    28 class CMPMConfirmDlgStarting;
    29 class TMpmConnPref;
    29 class TMpmConnPref;
    30 
    30 
    31 enum TOfflineNoteResponse
       
    32     {
       
    33     EOfflineResponseUndefined,
       
    34     EOfflineResponseYes,
       
    35     EOfflineResponseNo
       
    36     };
       
    37 
       
    38 /**
    31 /**
    39  * Handles IAP selection. MPM Server session
    32  * Handles IAP selection. MPM Server session
    40  * uses the class to select the best available 
    33  * uses the class to select the best available 
    41  * IAP.
    34  * IAP.
    42  *
    35  *
   216      *
   209      *
   217      */
   210      */
   218     void HandleUserSelectionL( TBool aIsIap, TUint32 aId, TInt aError  );
   211     void HandleUserSelectionL( TBool aIsIap, TUint32 aId, TInt aError  );
   219 
   212 
   220     /**
   213     /**
   221      * Returns the stored user response to the offline note
       
   222      * @since 3.2
       
   223      */
       
   224     TOfflineNoteResponse OfflineNoteResponse();
       
   225 
       
   226     /**
       
   227      * Stores the user response to the offline note
       
   228      * @since 3.2
       
   229      * @param aResponse Offline note response
       
   230      */
       
   231     void SetOfflineNoteResponse( TOfflineNoteResponse aResponse );
       
   232 
       
   233     /**
       
   234      * Iap selection is notified that conenction is started. 
       
   235      * Offline note response is reseted.
       
   236      *
       
   237      * @since 3.2
       
   238      */
       
   239     void ConnectionStarted();
       
   240 
       
   241     /**
       
   242      * Get original MPM connection preferences
   214      * Get original MPM connection preferences
   243      * @since 5.2
   215      * @since 5.2
   244      */
   216      */
   245      TMpmConnPref MpmConnPref();
   217      TMpmConnPref MpmConnPref();
   246      
   218      
   354     TUint32 iUserSelectionSnapId;
   326     TUint32 iUserSelectionSnapId;
   355 
   327 
   356     // State of impilict connection start
   328     // State of impilict connection start
   357     TImplicitConnectionState iImplicitState;
   329     TImplicitConnectionState iImplicitState;
   358 
   330 
   359     // Offline note response for the connection. 
       
   360     // Offline note must be displayed only once 
       
   361     // during the connection (not for each wlan iap of a snap).
       
   362     TOfflineNoteResponse iOfflineNoteResponse;
       
   363 
       
   364     // True if connection is roaming (set when displaying offline note)
   331     // True if connection is roaming (set when displaying offline note)
   365     TBool iIsRoaming;
   332     TBool iIsRoaming;
   366 
   333 
   367     // True if user has selected "Known and new" for join wlan networks
   334     // True if user has selected "Known and new" for join wlan networks
   368 	// setting in Connectivity settings plugin.
   335 	// setting in Connectivity settings plugin.