wlanutilities/wlansniffer/aiplugin/inc/wsfaimodel.inl
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
equal deleted inserted replaced
23:b852595f5cbe 24:63be7eb3fc78
     1 /*
       
     2 * Copyright (c) 2007-2008 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 for CWsfAiModel
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INLINE FUNCTIONS
       
    20 
       
    21 // --------------------------------------------------------------------------
       
    22 // CWsfAiModel::SetScanningOn
       
    23 // --------------------------------------------------------------------------
       
    24 //
       
    25 inline void CWsfAiModel::SetScanningOn()
       
    26     {
       
    27     // Set the scanning status flag on
       
    28     iScanning = ETrue;
       
    29     }
       
    30       
       
    31 // --------------------------------------------------------------------------
       
    32 // CWsfAiModel::SetScanningOff
       
    33 // --------------------------------------------------------------------------
       
    34 //
       
    35 inline void CWsfAiModel::SetScanningOff() 
       
    36     {
       
    37     // Set the scanning status flag off
       
    38     iScanning = EFalse;
       
    39     }
       
    40            
       
    41 // --------------------------------------------------------------------------
       
    42 // CWsfAiModel::ScanningOn
       
    43 // --------------------------------------------------------------------------
       
    44 //
       
    45 inline TBool CWsfAiModel::ScanningOn()
       
    46     {
       
    47     return iScanning;
       
    48     }
       
    49        
       
    50 // --------------------------------------------------------------------------
       
    51 // CWsfAiModel::Connected
       
    52 // --------------------------------------------------------------------------
       
    53 //
       
    54 inline TBool CWsfAiModel::Connected() 
       
    55     {
       
    56     return iConnected;
       
    57     }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // CWsfAiModel::SetConnected
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 void CWsfAiModel::SetConnected( TBool aConnected )
       
    64 	{
       
    65 	iConnected = aConnected;
       
    66 	}
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // CWsfAiModel::SetConnected
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 void CWsfAiModel::SetConnecting( TBool aConnecting )
       
    73     {
       
    74     iConnecting = aConnecting;
       
    75     }
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // CWsfAiModel::SetConnectedWlanInfo
       
    79 // -----------------------------------------------------------------------------
       
    80 //
       
    81 void CWsfAiModel::SetConnectedWlanInfo( TWsfWlanInfo& aWlanInfo )
       
    82 	{
       
    83 	iConnectedWlanInfo = aWlanInfo;
       
    84 	}
       
    85 
       
    86 
       
    87 // End of file