bearermanagement/mpm/inc/mpmserver.inl
branchRCL_3
changeset 57 05bc53fe583b
parent 55 fc7b30ed2058
child 58 83ca720e2b9a
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    70     {
    70     {
    71     return iWLANScanRequired;
    71     return iWLANScanRequired;
    72     }
    72     }
    73 
    73 
    74 // -----------------------------------------------------------------------------
    74 // -----------------------------------------------------------------------------
    75 // CMPMServer::DisconnectQueue
       
    76 // -----------------------------------------------------------------------------
       
    77 //
       
    78 inline CArrayPtrFlat<CMPMDisconnectDlg>* CMPMServer::DisconnectQueue()
       
    79     {
       
    80     return iDisconnectQueue;
       
    81     }
       
    82 
       
    83 // -----------------------------------------------------------------------------
       
    84 // CMPMServer::RoamingQueue
    75 // CMPMServer::RoamingQueue
    85 // -----------------------------------------------------------------------------
    76 // -----------------------------------------------------------------------------
    86 //
    77 //
    87 inline CArrayPtrFlat<CMPMConfirmDlgRoaming>* CMPMServer::RoamingQueue()
    78 inline CArrayPtrFlat<CMPMConfirmDlgRoaming>* CMPMServer::RoamingQueue()
    88     {
    79     {
    94 // -----------------------------------------------------------------------------
    85 // -----------------------------------------------------------------------------
    95 //
    86 //
    96 inline CArrayPtrFlat<CMPMConfirmDlgStarting>* CMPMServer::StartingQueue()
    87 inline CArrayPtrFlat<CMPMConfirmDlgStarting>* CMPMServer::StartingQueue()
    97     {
    88     {
    98     return iStartingQueue;
    89     return iStartingQueue;
    99     }
       
   100 
       
   101 // -----------------------------------------------------------------------------
       
   102 // CMPMServer::RemoveFromWlanQueryQueue
       
   103 // -----------------------------------------------------------------------------
       
   104 //
       
   105 inline void CMPMServer::RemoveFromWlanQueryQueue( CMPMWlanQueryDialog* aDlg )
       
   106     {
       
   107     for ( TInt i = 0; i < iWlanQueryQueue->Count(); i++ )
       
   108         {
       
   109         if ( iWlanQueryQueue->At( i ) == aDlg )
       
   110             {
       
   111             iWlanQueryQueue->Delete( i );
       
   112             break;
       
   113             }
       
   114         }
       
   115     }
       
   116 
       
   117 // -----------------------------------------------------------------------------
       
   118 // CMPMServer::WlanQueryQueue
       
   119 // -----------------------------------------------------------------------------
       
   120 //
       
   121 inline CArrayPtrFlat<CMPMWlanQueryDialog>* CMPMServer::WlanQueryQueue()
       
   122     {
       
   123     return iWlanQueryQueue;
       
   124     }
       
   125 
       
   126 // -----------------------------------------------------------------------------
       
   127 // CMPMServer::FirstInWlanQueryQueue
       
   128 // -----------------------------------------------------------------------------
       
   129 //
       
   130 inline CMPMWlanQueryDialog* CMPMServer::FirstInWlanQueryQueue()
       
   131     {
       
   132     if ( iWlanQueryQueue->Count() == 0 )
       
   133         return NULL;
       
   134     else
       
   135         return iWlanQueryQueue->At( 0 );
       
   136     }
       
   137 
       
   138 // -----------------------------------------------------------------------------
       
   139 // CMPMServer::ConnectDialogQueue
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 inline CArrayPtrFlat<CMPMDialog>* CMPMServer::ConnectDialogQueue()
       
   143     {
       
   144     return iConnectDialogQueue;
       
   145     }
    90     }
   146 
    91 
   147 // -----------------------------------------------------------------------------
    92 // -----------------------------------------------------------------------------
   148 // CMPMServer::IncrementConnections
    93 // CMPMServer::IncrementConnections
   149 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
   239     {
   184     {
   240     return iMpmCsIdWatcher;
   185     return iMpmCsIdWatcher;
   241     }
   186     }
   242 
   187 
   243 // -----------------------------------------------------------------------------
   188 // -----------------------------------------------------------------------------
       
   189 // CMPMServer::VpnToggleWatcher
       
   190 // -----------------------------------------------------------------------------
       
   191 //
       
   192 inline CMpmVpnToggleWatcher* CMPMServer::VpnToggleWatcher()
       
   193     {
       
   194     return iMpmVpnToggleWatcher;
       
   195     }
       
   196 
       
   197 // -----------------------------------------------------------------------------
   244 // CMPMServer::DedicatedClients
   198 // CMPMServer::DedicatedClients
   245 // -----------------------------------------------------------------------------
   199 // -----------------------------------------------------------------------------
   246 //
   200 //
   247 inline RArray<TUint32>& CMPMServer::DedicatedClients()
   201 inline RArray<TUint32>& CMPMServer::DedicatedClients()
   248     {
   202     {
   260 
   214 
   261 // -----------------------------------------------------------------------------
   215 // -----------------------------------------------------------------------------
   262 // CMPMServer::RoamingWatcher()
   216 // CMPMServer::RoamingWatcher()
   263 // -----------------------------------------------------------------------------
   217 // -----------------------------------------------------------------------------
   264 //
   218 //
   265 CMPMRoamingWatcher* CMPMServer::RoamingWatcher() const
   219 inline CMPMRoamingWatcher* CMPMServer::RoamingWatcher() const
   266     {
   220     {
   267     return iRoamingWatcher;
   221     return iRoamingWatcher;
   268     }
   222     }
   269 
   223 
   270 // -----------------------------------------------------------------------------
   224 // -----------------------------------------------------------------------------
       
   225 // CMPMServer::ConnUiUtils()
       
   226 // -----------------------------------------------------------------------------
       
   227 //
       
   228 inline CConnectionUiUtilities* CMPMServer::ConnUiUtils() const
       
   229     {
       
   230     return iConnUiUtils;
       
   231     }
       
   232 
       
   233 // -----------------------------------------------------------------------------
   271 // CMPMServer::DataUsageWatcher()
   234 // CMPMServer::DataUsageWatcher()
   272 // -----------------------------------------------------------------------------
   235 // -----------------------------------------------------------------------------
   273 //
   236 //
   274 CMpmDataUsageWatcher* CMPMServer::DataUsageWatcher() const
   237 CMpmDataUsageWatcher* CMPMServer::DataUsageWatcher() const
   275     {
   238     {