26
|
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 |
/*
|
49
|
19 |
* %version: 5 %
|
26
|
20 |
*/
|
|
21 |
|
|
22 |
#if !defined(_ABS_EAP_PLUGIN_MESSAGE_H_)
|
|
23 |
#define _ABS_EAP_PLUGIN_MESSAGE_H_
|
|
24 |
|
|
25 |
#include "eap_tools.h"
|
|
26 |
#include "eap_am_export.h"
|
49
|
27 |
// Start: added by script change_export_macros.sh.
|
|
28 |
#if defined(EAP_NO_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H)
|
|
29 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_NONSHARABLE
|
|
30 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H
|
|
31 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H
|
|
32 |
#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H
|
|
33 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H
|
|
34 |
#elif defined(EAP_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H)
|
|
35 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_EXPORT
|
|
36 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_EXPORT
|
|
37 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_EXPORT
|
|
38 |
#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_EXPORT
|
|
39 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_EXPORT
|
|
40 |
#else
|
|
41 |
#define EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_IMPORT
|
|
42 |
#define EAP_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_FUNC_IMPORT
|
|
43 |
#define EAP_C_FUNC_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H EAP_C_FUNC_IMPORT
|
|
44 |
#define EAP_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H
|
|
45 |
#define EAP_C_FUNC_EXPORT_ABS_EAP_PLUGIN_MESSAGE_H
|
|
46 |
#endif
|
|
47 |
// End: added by script change_export_macros.sh.
|
26
|
48 |
|
|
49 |
class eap_method_settings_c;
|
|
50 |
|
|
51 |
/// This class defines the interface the eap_core_c class
|
|
52 |
/// will use with the partner class (lower layer).
|
49
|
53 |
class EAP_CLASS_VISIBILITY_ABS_EAP_PLUGIN_MESSAGE_H abs_eap_plugin_message_c
|
26
|
54 |
{
|
|
55 |
private:
|
|
56 |
//--------------------------------------------------
|
|
57 |
|
|
58 |
//--------------------------------------------------
|
|
59 |
protected:
|
|
60 |
//--------------------------------------------------
|
|
61 |
|
|
62 |
//--------------------------------------------------
|
|
63 |
public:
|
|
64 |
//--------------------------------------------------
|
|
65 |
|
|
66 |
/**
|
|
67 |
* The destructor of the abs_eap_core class does nothing special.
|
|
68 |
*/
|
|
69 |
virtual ~abs_eap_plugin_message_c()
|
|
70 |
{
|
|
71 |
}
|
|
72 |
|
|
73 |
/**
|
|
74 |
* The constructor of the abs_eap_core class does nothing special.
|
|
75 |
*/
|
|
76 |
abs_eap_plugin_message_c()
|
|
77 |
{
|
|
78 |
}
|
|
79 |
|
|
80 |
virtual eap_status_e complete_get_configuration(
|
|
81 |
const eap_method_settings_c * const internal_settings) = 0;
|
|
82 |
|
|
83 |
virtual eap_status_e complete_set_configuration(
|
|
84 |
const eap_status_e completion_status) = 0;
|
|
85 |
|
|
86 |
virtual eap_status_e complete_delete_configuration(
|
|
87 |
const eap_status_e completion_status) = 0;
|
|
88 |
|
|
89 |
virtual eap_status_e complete_copy_configuration(
|
|
90 |
const eap_status_e completion_status) = 0;
|
|
91 |
|
|
92 |
virtual eap_status_e complete_set_index(
|
|
93 |
const eap_status_e completion_status) = 0;
|
|
94 |
|
|
95 |
virtual eap_status_e complete_get_type_info(
|
|
96 |
const eap_method_settings_c * const internal_settings) = 0;
|
|
97 |
|
|
98 |
virtual eap_status_e complete_invoke_ui(
|
|
99 |
const eap_method_settings_c * const internal_settings) = 0;
|
|
100 |
|
|
101 |
//--------------------------------------------------
|
|
102 |
}; // class abs_eap_plugin_message_c
|
|
103 |
|
|
104 |
#endif //#if !defined(_ABS_EAP_PLUGIN_MESSAGE_H_)
|
|
105 |
|
|
106 |
//--------------------------------------------------
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
// End.
|