wlansecuritysettings/wifiprotectedsetup/inc/wifiparams.inl
branchRCL_3
changeset 46 c74b3d9f6b9e
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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: Declares inline functions for input/output parameter sructures 
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: tr1cfwln#8 %
       
    20 */
       
    21 
       
    22 #ifndef WIFIPARAMS_INL
       
    23 #define WIFIPARAMS_INL
       
    24 
       
    25 using namespace WiFiProt;
       
    26 
       
    27 WiFiProt::TWiFiInputParams::TWiFiInputParams(const TDesC8& aInitBuf,
       
    28                                              const TBool aConnectionNeeded):
       
    29     iSSid(aInitBuf),
       
    30     iConnectionNeeded(aConnectionNeeded)
       
    31     {
       
    32        
       
    33     }
       
    34         
       
    35     
       
    36 WiFiProt::TWiFiOutputParams::TWiFiOutputParams(const TDesC8& aInitBuf):
       
    37     iIapIds(aInitBuf),
       
    38     iReturn(EWiFiCancel)
       
    39     {
       
    40         
       
    41     }
       
    42 
       
    43 WiFiProt::TWiFiConnOutputParams::TWiFiConnOutputParams(
       
    44             const TWlanProtectedSetupCredentialAttribute& aNetworkSettings):
       
    45     iNetworkSettings(aNetworkSettings),
       
    46     iReturn(EWiFiCancel)
       
    47     {
       
    48         
       
    49     }
       
    50     
       
    51 WiFiProt::TWiFiConnOutputParams::TWiFiConnOutputParams( ):
       
    52     iNetworkSettings( TWlanProtectedSetupCredentialAttribute() ),
       
    53     iReturn(EWiFiCancel)
       
    54     {
       
    55     
       
    56     }
       
    57 #endif  // WIFIPARAMS_INL
       
    58 // End of File