wlansecuritysettings/wpasecuritysettingsui/src/wpasecuritysettingsstub.cpp
changeset 2 1c7bc153c08e
equal deleted inserted replaced
1:a3e2bfb0107c 2:1c7bc153c08e
       
     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: Stub implementation of class CWPASecuritySettings for 
       
    15 *              non-WLAN products to support linking 
       
    16 *
       
    17 */
       
    18 
       
    19 /*
       
    20 * %version: 2 %
       
    21 */
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include <WPASecuritySettingsUI.h>
       
    25 
       
    26 
       
    27 
       
    28 // ================= MEMBER FUNCTIONS =======================
       
    29 
       
    30 // ---------------------------------------------------------
       
    31 // CWPASecuritySettings::NewL
       
    32 // ---------------------------------------------------------
       
    33 //
       
    34 EXPORT_C CWPASecuritySettings* CWPASecuritySettings::NewL( 
       
    35                                                 TSecurityMode /*aSecurityMode*/ )
       
    36     {
       
    37     User::Leave(KErrNotSupported);
       
    38     return NULL;
       
    39     }
       
    40 
       
    41 
       
    42 // ---------------------------------------------------------
       
    43 // CWPASecuritySettings::~CWPASecuritySettings
       
    44 // ---------------------------------------------------------
       
    45 //
       
    46 EXPORT_C CWPASecuritySettings::~CWPASecuritySettings()
       
    47     {
       
    48     }
       
    49 
       
    50 
       
    51 // ---------------------------------------------------------
       
    52 // CWPASecuritySettings::LoadL
       
    53 // ---------------------------------------------------------
       
    54 //
       
    55 EXPORT_C void CWPASecuritySettings::LoadL( TUint32 /*aIapId*/, 
       
    56                                            CCommsDatabase& /*aCommsDb*/ )
       
    57     {
       
    58     }
       
    59 
       
    60 
       
    61 // ---------------------------------------------------------
       
    62 // CWPASecuritySettings::SaveL
       
    63 // ---------------------------------------------------------
       
    64 //
       
    65 EXPORT_C void CWPASecuritySettings::SaveL( TUint32 /*aIapId*/, 
       
    66                                            CCommsDatabase& /*aCommsDb*/, 
       
    67                                            TTypeOfSaving /*aTypeOfSaving*/, 
       
    68                                            TUint32 /*aOldIapId*/ ) const
       
    69     {
       
    70     }
       
    71     
       
    72 
       
    73 // ---------------------------------------------------------
       
    74 // CWPASecuritySettings::EditL
       
    75 // ---------------------------------------------------------
       
    76 //
       
    77 EXPORT_C TInt CWPASecuritySettings::EditL( CWPASecuritySettingsUi& /*aUi*/,
       
    78                                            const TDesC& /*aTitle*/ )
       
    79     {
       
    80     return KErrNotSupported;
       
    81     }
       
    82 
       
    83 
       
    84 // ---------------------------------------------------------
       
    85 // CWPASecuritySettings::DeleteL
       
    86 // ---------------------------------------------------------
       
    87 //
       
    88 EXPORT_C void CWPASecuritySettings::DeleteL( TUint32 /*aIapId*/ ) const
       
    89     {
       
    90     }
       
    91 
       
    92 
       
    93 // ---------------------------------------------------------
       
    94 // CWPASecuritySettings::IsValid
       
    95 // ---------------------------------------------------------
       
    96 //
       
    97 EXPORT_C TBool CWPASecuritySettings::IsValid() const
       
    98     {
       
    99     return EFalse;
       
   100     }
       
   101 
       
   102 
       
   103 // ---------------------------------------------------------
       
   104 // CWPASecuritySettings::SetWPAPreSharedKey
       
   105 // ---------------------------------------------------------
       
   106 //
       
   107 EXPORT_C TInt CWPASecuritySettings::SetWPAPreSharedKey( 
       
   108                                                 const TDesC& /*aPreSharedKey*/ )
       
   109     {
       
   110     return KErrNotSupported;
       
   111     }
       
   112 
       
   113 
       
   114 // ---------------------------------------------------------
       
   115 // CWPASecuritySettings::LoadL
       
   116 // ---------------------------------------------------------
       
   117 //
       
   118 EXPORT_C void CWPASecuritySettings::LoadL( TUint32 /*aIapId*/, 
       
   119                                            CMDBSession& /*aSession*/ )
       
   120     {
       
   121     }
       
   122     
       
   123     
       
   124 // ---------------------------------------------------------
       
   125 // CWPASecuritySettings::SaveL
       
   126 // ---------------------------------------------------------
       
   127 //
       
   128 EXPORT_C void CWPASecuritySettings::SaveL( TUint32 /*aIapId*/,
       
   129                                            CMDBSession& /*aSession*/,
       
   130                                            TTypeOfSaving /*aTypeOfSaving*/,
       
   131                                            TUint32 /*aOldIapId*/ ) const
       
   132     {
       
   133     }
       
   134 
       
   135 
       
   136 // ---------------------------------------------------------
       
   137 // CWPASecuritySettings::SaveL
       
   138 // ---------------------------------------------------------
       
   139 //
       
   140 EXPORT_C TInt CWPASecuritySettings::SetWPAEnabledEAPPlugin( 
       
   141                                             const TDesC8& /*aEnabledPluginList*/ )
       
   142     {
       
   143     return KErrNotSupported;
       
   144     }
       
   145 
       
   146 // ---------------------------------------------------------
       
   147 // CWPASecuritySettings::SaveL
       
   148 // ---------------------------------------------------------
       
   149 //
       
   150 EXPORT_C TInt CWPASecuritySettings::SetWPADisabledEAPPlugin( 
       
   151                                             const TDesC8& /*aDisabledPluginList*/ )
       
   152     {
       
   153     return KErrNotSupported;
       
   154     }
       
   155 
       
   156 // End of File