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