wlansecuritysettings/wpasecuritysettingsui/inc/WPASecuritySettingsImpl.inl
branchRCL_3
changeset 46 c74b3d9f6b9e
child 55 9c2aa05919d9
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: CWPASecuritySettingsImpl inline functions
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: tr1cfwln#16 %
       
    20 */
       
    21 
       
    22 #ifndef WPASECURITYSETTINGSIMPL_INL
       
    23 #define WPASECURITYSETTINGSIMPL_INL
       
    24 
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // CWPASecuritySettingsImpl::SecurityMode
       
    28 // ---------------------------------------------------------
       
    29 //
       
    30 inline TSecurityMode CWPASecuritySettingsImpl::SecurityMode() const
       
    31     {
       
    32     return iSecurityMode;
       
    33     }
       
    34 
       
    35 
       
    36 // ---------------------------------------------------------
       
    37 // CWPASecuritySettingsImpl::WPAMode
       
    38 // ---------------------------------------------------------
       
    39 //
       
    40 inline TBool CWPASecuritySettingsImpl::WPAMode() const
       
    41     { 
       
    42     return iWPAMode; 
       
    43     }
       
    44 
       
    45 
       
    46 // ---------------------------------------------------------
       
    47 // CWPASecuritySettingsImpl::Wpa2Only
       
    48 // ---------------------------------------------------------
       
    49 //
       
    50 inline TBool CWPASecuritySettingsImpl::Wpa2Only() const
       
    51     { 
       
    52     return iWpa2Only; 
       
    53     }
       
    54 
       
    55 
       
    56 // ---------------------------------------------------------
       
    57 // CWPASecuritySettingsImpl::WPAUnencryptedConn
       
    58 // ---------------------------------------------------------
       
    59 //
       
    60 inline TBool CWPASecuritySettingsImpl::WPAUnencryptedConn() const
       
    61     { 
       
    62     return iWPAUnencryptedConn; 
       
    63     }
       
    64 
       
    65 
       
    66 // ---------------------------------------------------------
       
    67 // CWPASecuritySettingsImpl::WPAPreSharedKey
       
    68 // ---------------------------------------------------------
       
    69 //
       
    70 inline TDes8* CWPASecuritySettingsImpl::WPAPreSharedKey()
       
    71     { 
       
    72     return &iWPAPreSharedKey; 
       
    73     }
       
    74 
       
    75 
       
    76 // ---------------------------------------------------------
       
    77 // CWPASecuritySettingsImpl::WPAEAPPlugin
       
    78 // ---------------------------------------------------------
       
    79 //
       
    80 inline TDes* CWPASecuritySettingsImpl::WPAEAPPlugin()
       
    81     {
       
    82     return &iWPAEAPPlugin;
       
    83     }
       
    84 
       
    85 
       
    86 // ---------------------------------------------------------
       
    87 // CWPASecuritySettingsImpl::WPAEnabledEAPPlugin
       
    88 // ---------------------------------------------------------
       
    89 //
       
    90 inline HBufC8* CWPASecuritySettingsImpl::WPAEnabledEAPPlugin()
       
    91     {
       
    92     return iWPAEnabledEAPPlugin;
       
    93     }
       
    94 
       
    95 
       
    96 // ---------------------------------------------------------
       
    97 // CWPASecuritySettingsImpl::WPADisabledEAPPlugin
       
    98 // ---------------------------------------------------------
       
    99 //
       
   100 inline HBufC8* CWPASecuritySettingsImpl::WPADisabledEAPPlugin()
       
   101     {
       
   102     return iWPADisabledEAPPlugin;
       
   103     }
       
   104         
       
   105     
       
   106 // ---------------------------------------------------------
       
   107 // CWPASecuritySettingsImpl::SetWPAMode
       
   108 // ---------------------------------------------------------
       
   109 //
       
   110 inline void CWPASecuritySettingsImpl::SetWPAMode( const TBool aWPAMode )
       
   111     { 
       
   112     iWPAMode = aWPAMode; 
       
   113     }
       
   114 
       
   115 
       
   116 // ---------------------------------------------------------
       
   117 // CWPASecuritySettingsImpl::SetWpa2Only
       
   118 // ---------------------------------------------------------
       
   119 //
       
   120 inline void CWPASecuritySettingsImpl::SetWpa2Only( const TBool aWpa2Only )
       
   121     { 
       
   122     iWpa2Only = aWpa2Only; 
       
   123     }
       
   124 
       
   125 
       
   126 // ---------------------------------------------------------
       
   127 // CWPASecuritySettingsImpl::SetWPAUnencryptedConn
       
   128 // ---------------------------------------------------------
       
   129 //
       
   130 inline void CWPASecuritySettingsImpl::SetWPAUnencryptedConn( const TBool aUnencryptedConn )
       
   131     { 
       
   132     iWPAUnencryptedConn = aUnencryptedConn; 
       
   133     }
       
   134 
       
   135 
       
   136 // ---------------------------------------------------------
       
   137 // CWPASecuritySettingsImpl::SetWPAPreSharedKey
       
   138 // ---------------------------------------------------------
       
   139 //
       
   140 inline void CWPASecuritySettingsImpl::SetWPAPreSharedKey(
       
   141                                               const TDesC8& aWPAPreSharedKey )
       
   142     {
       
   143     iWPAPreSharedKey = aWPAPreSharedKey;
       
   144     }
       
   145 
       
   146 
       
   147 // ---------------------------------------------------------
       
   148 // CWPASecuritySettingsImpl::SetIapId
       
   149 // ---------------------------------------------------------
       
   150 //
       
   151 void CWPASecuritySettingsImpl::SetIapId( const TUint32 aIapId )
       
   152 	{
       
   153 	iIapId = aIapId;
       
   154 	}
       
   155 
       
   156 
       
   157 // ---------------------------------------------------------
       
   158 // CWPASecuritySettingsImpl::IapId
       
   159 // ---------------------------------------------------------
       
   160 //
       
   161 const TUint32 CWPASecuritySettingsImpl::IapId()
       
   162 	{
       
   163 	return iIapId;
       
   164 	}
       
   165 
       
   166 
       
   167 // ---------------------------------------------------------
       
   168 // CWPASecuritySettingsImpl::SetWPAEAPPlugin
       
   169 // ---------------------------------------------------------
       
   170 //
       
   171 void CWPASecuritySettingsImpl::SetWPAEAPPlugin( const TDes& aPluginList )
       
   172 	{
       
   173 	iWPAEAPPlugin.Copy( aPluginList );
       
   174 	}
       
   175 
       
   176 
       
   177 // ---------------------------------------------------------
       
   178 // CWPASecuritySettingsImpl::Plugin
       
   179 // ---------------------------------------------------------
       
   180 //
       
   181 CEAPPluginConfigurationIf* CWPASecuritySettingsImpl::Plugin()
       
   182 	{
       
   183 	return iPlugin;
       
   184 	}
       
   185 
       
   186 
       
   187 #endif 
       
   188 
       
   189 // End of File