|
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 * %version: 2 % |
|
20 */ |
|
21 |
|
22 #if !defined(_ABSPACSTOREINITIALIZER_H_) |
|
23 #define _ABSPACSTOREINITIALIZER_H_ |
|
24 |
|
25 #if defined(USE_FAST_EAP_TYPE) |
|
26 #include "eap_fast_types.h" |
|
27 #endif //#if defined(USE_FAST_EAP_TYPE) |
|
28 #include "eap_am_export.h" |
|
29 // Start: added by script change_export_macros.sh. |
|
30 #if defined(EAP_NO_EXPORT_ABSPACSTOREINITIALIZER_H) |
|
31 #define EAP_CLASS_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_NONSHARABLE |
|
32 #define EAP_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H |
|
33 #define EAP_C_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H |
|
34 #define EAP_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H |
|
35 #define EAP_C_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H |
|
36 #elif defined(EAP_EXPORT_ABSPACSTOREINITIALIZER_H) |
|
37 #define EAP_CLASS_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_EXPORT |
|
38 #define EAP_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_C_FUNC_EXPORT |
|
40 #define EAP_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H EAP_FUNC_EXPORT |
|
41 #define EAP_C_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H EAP_C_FUNC_EXPORT |
|
42 #else |
|
43 #define EAP_CLASS_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_IMPORT |
|
44 #define EAP_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_FUNC_IMPORT |
|
45 #define EAP_C_FUNC_VISIBILITY_ABSPACSTOREINITIALIZER_H EAP_C_FUNC_IMPORT |
|
46 #define EAP_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H |
|
47 #define EAP_C_FUNC_EXPORT_ABSPACSTOREINITIALIZER_H |
|
48 #endif |
|
49 // End: added by script change_export_macros.sh. |
|
50 |
|
51 |
|
52 /// The class is the interface to partner class of the tls_base_application_c class which starts the PAC-store initialization. |
|
53 /// This declares the pure virtual member functions tls_base_application_c class could call. |
|
54 class EAP_CLASS_VISIBILITY_ABSPACSTOREINITIALIZER_H AbsPacStoreInitializer |
|
55 { |
|
56 private: |
|
57 //-------------------------------------------------- |
|
58 |
|
59 //-------------------------------------------------- |
|
60 protected: |
|
61 //-------------------------------------------------- |
|
62 |
|
63 //-------------------------------------------------- |
|
64 public: |
|
65 //-------------------------------------------------- |
|
66 |
|
67 /** |
|
68 * The destructor of the AbsPacStoreInitializer class does nothing special. |
|
69 */ |
|
70 virtual ~AbsPacStoreInitializer() |
|
71 { |
|
72 } |
|
73 |
|
74 /** |
|
75 * The constructor of the AbsPacStoreInitializer class does nothing special. |
|
76 */ |
|
77 AbsPacStoreInitializer() |
|
78 { |
|
79 } |
|
80 |
|
81 #if defined(USE_FAST_EAP_TYPE) |
|
82 |
|
83 virtual TInt CompleteInitialisePacStore() = 0; |
|
84 |
|
85 #endif //#if defined(USE_FAST_EAP_TYPE) |
|
86 |
|
87 //-------------------------------------------------- |
|
88 }; // class AbsPacStoreInitializer |
|
89 |
|
90 #endif //#if !defined(_ABSPACSTOREINITIALIZER_H_) |
|
91 |
|
92 //-------------------------------------------------- |
|
93 |
|
94 // End. |