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 _EAPGTCUICONNECTION_H_ |
|
20 #define _EAPGTCUICONNECTION_H_ |
|
21 |
|
22 #include <e32std.h> |
|
23 #include <e32base.h> |
|
24 #include <d32dbms.h> |
|
25 #include <EapType.h> |
|
26 |
|
27 class CEapGtcUiDataConnection; |
|
28 |
|
29 class CEapGtcUiConnection: public CBase |
|
30 { |
|
31 |
|
32 public: |
|
33 |
|
34 CEapGtcUiConnection( |
|
35 const TIndexType iIndexType, |
|
36 const TInt iIndex, |
|
37 const TInt iTunnelingType); |
|
38 |
|
39 ~CEapGtcUiConnection(); |
|
40 |
|
41 TInt Connect(); |
|
42 |
|
43 TInt Close(); |
|
44 |
|
45 CEapGtcUiDataConnection * GetDataConnection(); |
|
46 |
|
47 TIndexType GetIndexType(); |
|
48 |
|
49 TInt GetIndex(); |
|
50 |
|
51 TInt GetTunnelingType(); |
|
52 |
|
53 TInt GetDatabase(RDbNamedDatabase & aDatabase); |
|
54 |
|
55 protected: |
|
56 |
|
57 // Bearer type |
|
58 TIndexType iIndexType; |
|
59 |
|
60 // Unique index |
|
61 TInt iIndex; |
|
62 |
|
63 // Tunneling type |
|
64 TInt iTunnelingType; |
|
65 |
|
66 TBool iIsConnected; |
|
67 |
|
68 // database names, handlers etc... |
|
69 |
|
70 CEapGtcUiDataConnection * iDataConn; |
|
71 |
|
72 RDbNamedDatabase iDbNamedDatabase; |
|
73 |
|
74 RDbs iDbs; |
|
75 }; |
|
76 |
|
77 |
|
78 #endif |