eapol/eapol_framework/eapol_common/include/abs_eap_plugin_message.h
author hgs
Thu, 16 Sep 2010 13:07:04 +0300
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
permissions -rw-r--r--
201037

/*
* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  EAP and WLAN authentication protocols.
*
*/

/*
* %version: 5 %
*/

#if !defined(_ABS_EAP_PLUGIN_MESSAGE_H_)
#define _ABS_EAP_PLUGIN_MESSAGE_H_

#include "eap_tools.h"
#include "eap_am_export.h"
// Start: added by script change_export_macros.sh.
#if defined(EAP_NO_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H)
	#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_NONSHARABLE 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H 
	#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H 
#elif defined(EAP_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H)
	#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_EXPORT 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_EXPORT 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_EXPORT 
	#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_EXPORT 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_EXPORT 
#else
	#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_IMPORT 
	#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_IMPORT 
	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_IMPORT 
	#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H 
	#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H 
#endif
// End: added by script change_export_macros.sh.

class eap_method_settings_c;

/// This class defines the interface the eap_core_c class
/// will use with the partner class (lower layer).
class EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H abs_eap_plugin_message_c
{
private:
	//--------------------------------------------------

	//--------------------------------------------------
protected:
	//--------------------------------------------------

	//--------------------------------------------------
public:
	//--------------------------------------------------

	/**
	 * The destructor of the abs_eap_core class does nothing special.
	 */
	virtual ~abs_eap_plugin_message_c()
	{
	}

	/**
	 * The constructor of the abs_eap_core class does nothing special.
	 */
	abs_eap_plugin_message_c()
	{
	}

	virtual eap_status_e complete_get_configuration(
		const eap_method_settings_c * const internal_settings) = 0;

	virtual eap_status_e complete_set_configuration(
		const eap_status_e completion_status) = 0;

	virtual eap_status_e complete_delete_configuration(
		const eap_status_e completion_status) = 0;

	virtual eap_status_e complete_copy_configuration(
		const eap_status_e completion_status) = 0;

	virtual eap_status_e complete_set_index(
		const eap_status_e completion_status) = 0;

	virtual eap_status_e complete_get_type_info(
		const eap_method_settings_c * const internal_settings) = 0;

	virtual eap_status_e complete_invoke_ui(
		const eap_method_settings_c * const internal_settings) = 0;

	//--------------------------------------------------
}; // class abs_eap_plugin_message_c

#endif //#if !defined(_ABS_EAP_PLUGIN_MESSAGE_H_)

//--------------------------------------------------



// End.