|
1 /* |
|
2 * Copyright (c) 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 "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 CDataMobilityTables. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef DATAMOBILITYTABLESHANDLER_H |
|
22 #define DATAMOBILITYTABLESHANDLER_H |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32base.h> |
|
27 #include <metadatabase.h> |
|
28 |
|
29 using namespace CommsDat; |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * CDataMobilityTables |
|
37 * Capable of checking the existence of certain Data Mobility specific |
|
38 * tables and - if necessary create them. |
|
39 */ |
|
40 class CDataMobilityTables : public CBase |
|
41 { |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Static constructor |
|
46 */ |
|
47 static CDataMobilityTables* NewL(); |
|
48 |
|
49 /** |
|
50 * Destructor |
|
51 */ |
|
52 virtual ~CDataMobilityTables(); |
|
53 |
|
54 /** |
|
55 * Checks if Data Mobility ALR tables exist. Creates them if not. |
|
56 */ |
|
57 void CheckAndCreateAlrTablesL(); |
|
58 |
|
59 /** |
|
60 * Checks if Data Mobility MIP tables exist. Creates them if not. |
|
61 */ |
|
62 void CheckAndCreateMipTablesL(); |
|
63 |
|
64 |
|
65 private: |
|
66 |
|
67 /** |
|
68 * C++ default constructor. |
|
69 */ |
|
70 CDataMobilityTables(); |
|
71 |
|
72 /** |
|
73 * By default Symbian second phase constructor is private. |
|
74 */ |
|
75 void ConstructL(); |
|
76 |
|
77 /** |
|
78 * Check if Global Bearer Type Priorization Table exists in CommsDat; |
|
79 * create if not. |
|
80 */ |
|
81 void CreateGlobalBearerTypeTableL(); |
|
82 |
|
83 /** |
|
84 * Check if Data Mobility Selection Policy Table exists in CommsDat; |
|
85 * create if not. |
|
86 */ |
|
87 void CreateDataMobilitySelectionPolicyTableL(); |
|
88 |
|
89 /** |
|
90 * Check if Virtual IAP Next Layer Table exists in CommsDat; |
|
91 * create if not. |
|
92 */ |
|
93 void CreateVirtualIAPNextLayerTableL(); |
|
94 |
|
95 /** |
|
96 * Check if MIP Service Table exists in CommsDat; create if not. |
|
97 */ |
|
98 void CreateMIPServiceTableL(); |
|
99 |
|
100 /** |
|
101 * Check if MIP Service Table exists in CommsDat; create if not. |
|
102 */ |
|
103 void CreateMIP4TableL(); |
|
104 |
|
105 /** |
|
106 * Check if MIP Service Table exists in CommsDat; create if not. |
|
107 */ |
|
108 void CreateMIP6TableL(); |
|
109 |
|
110 /** |
|
111 * Check if SNAP Metadata Table exists in CommsDat; create if not. |
|
112 */ |
|
113 void CreateSNAPMetadataTableL(); |
|
114 |
|
115 /** |
|
116 * Check if IAP Metadata Table exists in CommsDat; create if not. |
|
117 */ |
|
118 void CreateIAPMetadataTableL(); |
|
119 |
|
120 /** |
|
121 * Check if WLAN Destination network Table exists in CommsDat; |
|
122 * create if not. |
|
123 */ |
|
124 void CreateDestNetworkTableL(); |
|
125 |
|
126 /** |
|
127 * Populates the Global Bearer Priorization table. |
|
128 */ |
|
129 void PopulateGlobalBearerTypeTableL(); |
|
130 |
|
131 private: // Data |
|
132 |
|
133 //@var session - Owned |
|
134 CMDBSession* iSession; |
|
135 |
|
136 }; |
|
137 |
|
138 #endif // DATAMOBILITYTABLESHANDLER_H |
|
139 |
|
140 // End of File. |