wlansecuritysettings/wifiprotectedsetup/src/wifiprotuiclientstub.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 CWiFiProtUiClient for 
       
    15 *              non-WLAN products to support linking.  
       
    16 *
       
    17 */
       
    18 
       
    19 /*
       
    20 * %version: 1 %
       
    21 */
       
    22 
       
    23 // INCLUDE FILES
       
    24 
       
    25 #include <wifiprotuiclient.h>
       
    26 #include "wifiprotsyncclient.h"
       
    27 
       
    28 // ================= MEMBER FUNCTIONS =======================
       
    29 
       
    30 // ---------------------------------------------------------
       
    31 // CWiFiProtUiClient::NewL
       
    32 // ---------------------------------------------------------
       
    33 //
       
    34 EXPORT_C CWiFiProtUiClient* CWiFiProtUiClient::NewL()
       
    35     {
       
    36     User::Leave(KErrNotSupported);
       
    37     return NULL;
       
    38     }
       
    39 
       
    40 
       
    41 // ---------------------------------------------------------
       
    42 // CWiFiProtUiClient::~CWiFiProtUiClient
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 EXPORT_C CWiFiProtUiClient::~CWiFiProtUiClient()
       
    46     {
       
    47     }
       
    48 
       
    49 // ---------------------------------------------------------
       
    50 // CWiFiProtUiClient::StartWiFiProtL
       
    51 // ---------------------------------------------------------
       
    52 //
       
    53 EXPORT_C void CWiFiProtUiClient::StartWiFiProtL( const TWlanSsid& aSSid,
       
    54                                                  TBool aConnectionNeeded,
       
    55                                                  RArray<TUint32>& aUidsReturned,
       
    56                                                  WiFiProt::TWiFiReturn& aReturnValue,
       
    57                                                  TRequestStatus& aStatus )
       
    58     {
       
    59     }
       
    60 
       
    61 // ---------------------------------------------------------
       
    62 // CWiFiProtUiClient::StartWiFiProtL
       
    63 // ---------------------------------------------------------
       
    64 //
       
    65 EXPORT_C WiFiProt::TWiFiReturn CWiFiProtUiClient::StartWiFiProtSyncL(
       
    66  const TWlanSsid& aSSid, TBool aConnectionNeeded,RArray<TUint32>& aUidsReturned )
       
    67     {
       
    68     return WiFiProt::TWiFiReturn(EWiFiCancel);
       
    69     }
       
    70 
       
    71 // ---------------------------------------------------------
       
    72 // CWiFiProtUiClient::CancelWiFiProt
       
    73 // ---------------------------------------------------------
       
    74 //
       
    75 EXPORT_C void CWiFiProtUiClient::CancelWiFiProt()
       
    76     {
       
    77     }
       
    78 
       
    79 // ---------------------------------------------------------
       
    80 // CWiFiProtUiClient::StartWiFiProtConnL
       
    81 // ---------------------------------------------------------
       
    82 //
       
    83 EXPORT_C void CWiFiProtUiClient::StartWiFiProtConnL( const TWlanSsid& aSSid,
       
    84                                       TWlanProtectedSetupCredentialAttribute&
       
    85                                         aNetworkSettings,
       
    86                                       WiFiProt::TWiFiReturn& aReturnValue,
       
    87                                       TRequestStatus& aStatus )
       
    88     {
       
    89     }
       
    90     
       
    91 // ---------------------------------------------------------
       
    92 // Stubs for CWiFiProtSyncClient
       
    93 // ---------------------------------------------------------
       
    94 //
       
    95 
       
    96 CWiFiProtSyncClient* CWiFiProtSyncClient::NewL( RWiFiProtSession& aClient,
       
    97                     TInt aPriority )
       
    98     {
       
    99     User::Leave(KErrNotSupported);
       
   100     return NULL;
       
   101     }
       
   102     
       
   103     CWiFiProtSyncClient::CWiFiProtSyncClient( RWiFiProtSession& aClient,
       
   104                                           TInt aPriority ) 
       
   105                                          : CActive( aPriority ),
       
   106                                            iClient( aClient )
       
   107     {
       
   108     }
       
   109 
       
   110 CWiFiProtSyncClient::~CWiFiProtSyncClient()
       
   111     {
       
   112     }
       
   113     
       
   114 
       
   115 void CWiFiProtSyncClient::RunL()
       
   116     {
       
   117     }
       
   118     
       
   119 void CWiFiProtSyncClient::DoCancel()
       
   120     {
       
   121     }
       
   122     
       
   123 // End of File