equal
deleted
inserted
replaced
|
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 #ifndef _EAPMSCHAPV2UIDATACONNECTION_H_ |
|
20 #define _EAPMSCHAPV2UIDATACONNECTION_H_ |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 class CEapMsChapV2UiConnection; |
|
25 class CEapMsChapV2UiMsChapV2Data; |
|
26 |
|
27 |
|
28 class CEapMsChapV2UiDataConnection : public CBase |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 CEapMsChapV2UiDataConnection(CEapMsChapV2UiConnection * aUiConn); |
|
34 |
|
35 ~CEapMsChapV2UiDataConnection(); |
|
36 |
|
37 TInt Open(); |
|
38 |
|
39 TInt GetData(CEapMsChapV2UiMsChapV2Data ** aDataPtr); |
|
40 |
|
41 TInt Update(); |
|
42 |
|
43 TInt Close(); |
|
44 |
|
45 protected: |
|
46 |
|
47 TBool iIsOpened; |
|
48 |
|
49 CEapMsChapV2UiConnection * iUiConn; |
|
50 |
|
51 RDbNamedDatabase iDatabase; |
|
52 |
|
53 RDbView iView; |
|
54 |
|
55 CDbColSet* iColSet; |
|
56 |
|
57 CEapMsChapV2UiMsChapV2Data * iDataPtr; |
|
58 |
|
59 private: |
|
60 |
|
61 void FetchDataL(); |
|
62 }; |
|
63 |
|
64 |
|
65 #endif |