|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : ./accesssec/eapol/eapol_framework/wapi_symbian/wapi_server/include/WapiSettingsIf.h |
|
4 * Part of : WAPI / WAPI *** Info from the SWAD |
|
5 * Description : WAPI authentication |
|
6 * Version : %version: 4 % << Don't touch! Updated by Synergy at check-out. |
|
7 * |
|
8 * Copyright © 2001-2010 Nokia. All rights reserved. |
|
9 * This material, including documentation and any related computer |
|
10 * programs, is protected by copyright controlled by Nokia. All |
|
11 * rights are reserved. Copying, including reproducing, storing, |
|
12 * adapting or translating, any or all of this material requires the |
|
13 * prior written consent of Nokia. This material also contains |
|
14 * confidential information which may not be disclosed to others |
|
15 * without the prior written consent of Nokia. |
|
16 * ============================================================================ |
|
17 * Template version: 4.2 |
|
18 */ |
|
19 |
|
20 #ifndef WAPISETTINGSIF_H_ |
|
21 #define WAPISETTINGSIF_H_ |
|
22 |
|
23 #include "abs_eap_am_message_if.h" |
|
24 #include "eap_am_message_if.h" |
|
25 #include "eap_tools.h" |
|
26 #include "AbsEapSendInterface.h" |
|
27 //#include "wapi_security_settings_server_message_if.h" |
|
28 |
|
29 //class eap_file_config_c; |
|
30 |
|
31 //-------------------------------------------------- |
|
32 |
|
33 //-------------------------------------------------- |
|
34 |
|
35 /** @file */ |
|
36 |
|
37 class TWapiSettingsIfParameters |
|
38 { |
|
39 public: |
|
40 abs_eap_am_tools_c * iTools; |
|
41 AbsEapSendInterface * iClient; |
|
42 }; |
|
43 |
|
44 /// This class is the common part of EAP message interface. |
|
45 /// This class is interface to the message creation and parsing function. |
|
46 class CWapiSettingsIf |
|
47 : public CBase |
|
48 , public abs_eap_am_message_if_c |
|
49 { |
|
50 public: |
|
51 |
|
52 // ---------------------------------------------------------------------- |
|
53 |
|
54 inline static CWapiSettingsIf* NewL( |
|
55 abs_eap_am_tools_c * const tools, |
|
56 AbsEapSendInterface * client); |
|
57 |
|
58 /*CWapiSettingsIf( |
|
59 abs_eap_am_tools_c * const tools, |
|
60 eap_am_message_if_c * const server, |
|
61 AbsEapSendInterface * client);*/ |
|
62 |
|
63 virtual ~CWapiSettingsIf(); |
|
64 |
|
65 //bool get_is_valid(); |
|
66 |
|
67 //eap_status_e configure( |
|
68 // const eap_variable_data_c * const client_configuration); |
|
69 |
|
70 virtual eap_status_e send_data(const void * const data, const u32_t length) = 0; |
|
71 |
|
72 virtual eap_status_e process_data(const void * const data, const u32_t length) = 0; |
|
73 |
|
74 //eap_status_e shutdown(); |
|
75 |
|
76 // ------------------------------------------------------ |
|
77 |
|
78 |
|
79 private: |
|
80 |
|
81 // ---------------------------------------------------------------------- |
|
82 |
|
83 /// ECom uses this key to keep track of DLL usage. |
|
84 TUid iDtor_ID_Key; |
|
85 |
|
86 // ---------------------------------------------------------------------- |
|
87 }; |
|
88 |
|
89 #include "WapiSettingsIf.inl" |
|
90 |
|
91 #endif /* WAPISETTINGSIF_H_ */ |