|
1 /* |
|
2 * Copyright (c) 2004 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 "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: Declaration of the class CWlanTables. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef WLANTABLESHANDLER_H |
|
22 #define WLANTABLESHANDLER_H |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32base.h> |
|
27 #include <metadatabase.h> |
|
28 #include <WlanCdbCols.h> |
|
29 #include <commsdattypesv1_1.h> |
|
30 |
|
31 using namespace CommsDat; |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 |
|
35 // CONSTANTS |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * CWlanTables |
|
41 * Capable of checking the existence of certain WLAN specific |
|
42 * tables and - if necessry create them. |
|
43 */ |
|
44 class CWlanTables : public CBase |
|
45 { |
|
46 public: |
|
47 |
|
48 /** |
|
49 * Static constructor |
|
50 */ |
|
51 static CWlanTables* NewL(); |
|
52 |
|
53 /** |
|
54 * Destructor |
|
55 */ |
|
56 virtual ~CWlanTables(); |
|
57 |
|
58 /** |
|
59 * Checks if WLAN tables exist. Creates them if not. |
|
60 */ |
|
61 void CheckAndCreateTablesL(); |
|
62 |
|
63 |
|
64 private: |
|
65 |
|
66 /** |
|
67 * C++ default constructor. |
|
68 */ |
|
69 CWlanTables(); |
|
70 |
|
71 /** |
|
72 * By default Symbian second phase constructor is private. |
|
73 */ |
|
74 void ConstructL(); |
|
75 |
|
76 /** |
|
77 * Check if WLAN Service Table exists in CommsDat; create if not. |
|
78 */ |
|
79 void CreateWlanServiceTableL(); |
|
80 |
|
81 /** |
|
82 * Check if WLAN Device Table exists in CommsDat; create if not. |
|
83 */ |
|
84 void CreateWlanDeviceSettingsTableL(); |
|
85 |
|
86 /** |
|
87 * Check if WLAN Secondary SSID Table exists in CommsDat; create if not. |
|
88 */ |
|
89 void CreateWlanSecSSIDTableL(); |
|
90 |
|
91 /** |
|
92 * Check if WLAN bearer record exists in LANBearer table in CommsDat; create if not. |
|
93 */ |
|
94 void CreateWlanBearerRecordL(); |
|
95 |
|
96 |
|
97 |
|
98 private: // Data |
|
99 |
|
100 //@var session - Owned |
|
101 CMDBSession* iSession; |
|
102 }; |
|
103 |
|
104 #endif // WLANTABLESHANDLER_H |
|
105 |
|
106 // End of File. |