bearermanagement/mpm/inc/mpmserversession.inl
changeset 0 5a93021fdf25
child 40 c5b848e6c7d1
child 57 05bc53fe583b
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Inline functions for CMPMServerSession class
       
    15 *
       
    16 */
       
    17 
       
    18 // -----------------------------------------------------------------------------
       
    19 // CMPMServerSession::SetDisconnectDlgPtrNull
       
    20 // -----------------------------------------------------------------------------
       
    21 //
       
    22 inline void CMPMServerSession::SetDisconnectDlgPtrNull()
       
    23     {
       
    24     iDisconnectDlg = NULL;
       
    25     }
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // CMPMServerSession::SetConfirmDlgRoamingPtrNull
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 inline void CMPMServerSession::SetConfirmDlgRoamingPtrNull()
       
    32     {
       
    33     iConfirmDlgRoaming = NULL;
       
    34     }
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // CMPMServerSession::MyServer
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 inline CMPMServer& CMPMServerSession::MyServer()
       
    41     {
       
    42     return iMyServer;
       
    43     }
       
    44 
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // CMPMServerSession::ConnectionId
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 inline TConnectionId CMPMServerSession::ConnectionId() const
       
    51     {
       
    52     return iConnId;
       
    53     }
       
    54     
       
    55 // -----------------------------------------------------------------------------
       
    56 // CMPMServerSession::StoredIapInfo
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 inline TStoredIapInfo& CMPMServerSession::StoredIapInfo()
       
    60     {
       
    61     return iStoredIapInfo;
       
    62     }
       
    63 
       
    64 // -----------------------------------------------------------------------------
       
    65 // CMPMServerSession::SetUserConnection
       
    66 // -----------------------------------------------------------------------------
       
    67 //
       
    68 inline void CMPMServerSession::SetUserConnection()
       
    69     {
       
    70     iUserConnection = ETrue;        
       
    71     }
       
    72         
       
    73 // -----------------------------------------------------------------------------
       
    74 // CMPMServerSession::ClearUserConnection
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 inline void CMPMServerSession::ClearUserConnection()
       
    78     {
       
    79     iUserConnection = EFalse;
       
    80     }
       
    81         
       
    82 // -----------------------------------------------------------------------------
       
    83 // CMPMServerSession::UserConnection
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 inline TBool CMPMServerSession::UserConnection() const
       
    87     {
       
    88     return iUserConnection;
       
    89     }
       
    90 
       
    91 // -----------------------------------------------------------------------------
       
    92 // CMPMServerSession::AppUid
       
    93 // -----------------------------------------------------------------------------
       
    94 //
       
    95 inline TUint32 CMPMServerSession::AppUid() const
       
    96     {
       
    97     return iAppUid;
       
    98     }
       
    99 
       
   100 // -----------------------------------------------------------------------------
       
   101 // CMPMServerSession::PreferredIapRequested
       
   102 // -----------------------------------------------------------------------------
       
   103 //
       
   104 inline TBool CMPMServerSession::PreferredIapRequested() const
       
   105     {
       
   106     return iPreferredIAPRequested;
       
   107     }
       
   108 
       
   109 // -----------------------------------------------------------------------------
       
   110 // CMPMServerSession::ChooseBestIapCalled
       
   111 // -----------------------------------------------------------------------------
       
   112 //
       
   113 inline TBool CMPMServerSession::ChooseBestIapCalled() const
       
   114     {
       
   115     return ( iIapSelection != NULL );
       
   116     }