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