wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_sub_operation_set_static_wep.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Statemachine for settings static WEP keys
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CORE_SUB_OPERATION_SET_STATIC_WEP_H
       
    20 #define CORE_SUB_OPERATION_SET_STATIC_WEP_H
       
    21 
       
    22 #include "core_operation_base.h"
       
    23 #include "core_ap_data.h"
       
    24 
       
    25 class core_server_c;
       
    26 class abs_core_driverif_c;
       
    27 
       
    28 /**
       
    29  * Statemachine for settings static WEP keys
       
    30  *
       
    31  * @lib wlmserversrv.lib
       
    32  * @since S60 v3.1
       
    33  */
       
    34 NONSHARABLE_CLASS( core_sub_operation_set_static_wep_c ) : public core_operation_base_c
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39     enum core_state_e
       
    40         {
       
    41         core_state_init = core_base_state_next,
       
    42         core_state_req_set_key1,
       
    43         core_state_req_set_key2,
       
    44         core_state_req_set_key3,
       
    45         core_state_req_set_key4,
       
    46         core_state_MAX
       
    47         };
       
    48 
       
    49     /**
       
    50      * Constructor.
       
    51      */
       
    52     core_sub_operation_set_static_wep_c(
       
    53         u32_t request_id,
       
    54         core_server_c* server,
       
    55         abs_core_driverif_c* drivers,
       
    56         abs_core_server_callback_c* adaptation );
       
    57 
       
    58     /**
       
    59      * Destructor.
       
    60      */
       
    61     virtual ~core_sub_operation_set_static_wep_c();
       
    62 
       
    63 protected:
       
    64 
       
    65     /**
       
    66      * This method is called when a pending request has been completed
       
    67      * and so sub-operations are pending.
       
    68      *
       
    69      * @since S60 v3.1
       
    70      * @return status of the operation:
       
    71      *     core_error_request_pending if the operation is not finished,
       
    72      *     otherwise the status code of the finished operation
       
    73      */
       
    74     core_error_e next_state();
       
    75 
       
    76 private: // data
       
    77    
       
    78     };
       
    79 
       
    80 #endif // CORE_SUB_OPERATION_SET_STATIC_WEP_H