eapol/eapol_framework/eapol_common/am/include/abs_simple_config_am_services.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-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:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #if !defined(_ABS_SIMPLE_CONFIG_AM_SERVICES_H_)
       
    22 #define _ABS_SIMPLE_CONFIG_AM_SERVICES_H_
       
    23 
       
    24 #include "eap_am_export.h"
       
    25 #include "eap_array.h"
       
    26 
       
    27 class simple_config_payloads_c;
       
    28 
       
    29 /// This class declares the functions adaptation module of SIMPLE_CONFIG
       
    30 /// requires from the SIMPLE_CONFIG.
       
    31 class EAP_EXPORT abs_simple_config_am_services_c
       
    32 {
       
    33 private:
       
    34 	//--------------------------------------------------
       
    35 
       
    36 	//--------------------------------------------------
       
    37 protected:
       
    38 	//--------------------------------------------------
       
    39 
       
    40 	//--------------------------------------------------
       
    41 public:
       
    42 	//--------------------------------------------------
       
    43 
       
    44 	/// Destructor does nothing.
       
    45 	virtual ~abs_simple_config_am_services_c()
       
    46 	{
       
    47 	}
       
    48 
       
    49 	/// Constructor does nothing.
       
    50 	abs_simple_config_am_services_c()
       
    51 	{
       
    52 	}
       
    53 
       
    54 	// This is commented in eap_base_type_c::configure().
       
    55 	virtual eap_status_e configure() = 0;
       
    56 
       
    57 
       
    58 	/**
       
    59 	 * This function completes the asyncronous
       
    60 	 * simple_config_am_services_c::query_network_and_device_parameters() function call.
       
    61 	 * The parameter completion_status must be eap_status_ok when query is successfull.
       
    62 	 */
       
    63 	virtual eap_status_e complete_query_network_and_device_parameters(
       
    64 		const simple_config_state_e state,
       
    65 		simple_config_payloads_c * const network_and_device_parameters,
       
    66 		const eap_status_e completion_status) = 0;
       
    67 
       
    68 
       
    69 	//--------------------------------------------------
       
    70 }; // class abs_simple_config_am_services_c
       
    71 
       
    72 #endif //#if !defined(_ABS_SIMPLE_CONFIG_AM_SERVICES_H_)
       
    73 
       
    74 //--------------------------------------------------
       
    75 
       
    76 
       
    77 
       
    78 // End.