wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacWsaConfigure.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:   Declaration of the WlanWsaConfigure class.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 9 %
       
    20 */
       
    21 
       
    22 #ifndef WLANWSACONFIGURE_H
       
    23 #define WLANWSACONFIGURE_H
       
    24 
       
    25 #include "UmacWsaCommand.h"
       
    26 
       
    27 /**
       
    28 *  Encapsulates the execution of Configure WHA command.
       
    29 *
       
    30 *  @lib wlanumac.lib
       
    31 *  @since S60 v3.1
       
    32 */
       
    33 class WlanWsaConfigure : public WlanWsaCommand
       
    34     {
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39     * C++ default constructor.
       
    40     */
       
    41     WlanWsaConfigure() : 
       
    42          iData( NULL ), iLength( 0 ) {};
       
    43 
       
    44 public:
       
    45 
       
    46     void Set( 
       
    47         WlanContextImpl& aCtxImpl, 
       
    48         const TAny* aData, 
       
    49         TUint32 aLength );
       
    50 
       
    51 private:
       
    52 
       
    53     virtual void Entry( WlanContextImpl& aCtxImpl );
       
    54 #ifndef NDEBUG 
       
    55     virtual const TInt8* GetStateName( TUint8& aLength ) const;
       
    56 #endif // !NDEBUG 
       
    57 
       
    58     virtual void CommandResponse( 
       
    59         WlanContextImpl& aCtxImpl, 
       
    60         WHA::TCommandId aCommandId, 
       
    61         WHA::TStatus aStatus,
       
    62         const WHA::UCommandResponseParams& aCommandResponseParams );
       
    63 
       
    64     // Prohibit copy constructor.
       
    65     WlanWsaConfigure( const WlanWsaConfigure& );
       
    66     // Prohibit assigment operator.
       
    67     WlanWsaConfigure& operator= ( const WlanWsaConfigure& );
       
    68 
       
    69 private:    // Data
       
    70 
       
    71 #ifndef NDEBUG 
       
    72     static const TInt8  iName[];
       
    73 #endif
       
    74 
       
    75     const TAny*         iData;
       
    76     TUint32             iLength;
       
    77     };
       
    78 
       
    79 #endif      // WLANWSACONFIGURE_H