1 /* |
|
2 * Copyright (c) 2005-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MDATABASEV2_H |
|
20 #define MDATABASEV2_H |
|
21 |
|
22 namespace MIDP |
|
23 { |
|
24 namespace DB |
|
25 { |
|
26 class MCustomAttribTable; |
|
27 } // end of namespace DB |
|
28 } // end of namespace MIDP |
|
29 |
|
30 namespace MIDP |
|
31 { |
|
32 namespace DBv2 |
|
33 { |
|
34 class MAlarmTable; |
|
35 class MCHLocalActionNameTable; |
|
36 class MCHPropertyTable; |
|
37 class MComponentPropertyTable; |
|
38 class MConnectionTable; |
|
39 class MContentHandlerTable; |
|
40 class MMIDletPropertyTable; |
|
41 class MMIDletSuitePropertyTable; |
|
42 class MMIDletSuiteSecurityAttributeTable; |
|
43 class MMIDletSuiteTable; |
|
44 class MMIDletTable; |
|
45 class MUserSecurityPreferencesTable; |
|
46 |
|
47 class MDatabase |
|
48 { |
|
49 public: |
|
50 |
|
51 virtual ~MDatabase() = 0; |
|
52 |
|
53 virtual MAlarmTable* AlarmTableL(void) = 0; |
|
54 |
|
55 virtual MCHPropertyTable* CHAccessTableL(void) = 0; |
|
56 |
|
57 virtual MCHPropertyTable* CHActionsTableL(void) = 0; |
|
58 |
|
59 virtual MCHLocalActionNameTable* CHLocalActionNameTableL(void) = 0; |
|
60 |
|
61 virtual MCHPropertyTable* CHSuffixesTableL(void) = 0; |
|
62 |
|
63 virtual MCHPropertyTable* CHTypesTableL(void) = 0; |
|
64 |
|
65 virtual MComponentPropertyTable* ComponentPropertyTableL(void) = 0; |
|
66 |
|
67 virtual MConnectionTable* DynamicConnectionTableL(void) = 0; |
|
68 |
|
69 virtual MConnectionTable* StaticConnectionTableL(void) = 0; |
|
70 |
|
71 virtual MContentHandlerTable* ContentHandlerTableL(void) = 0; |
|
72 |
|
73 virtual MMIDletPropertyTable* MIDletPropertyTableL(void) = 0; |
|
74 |
|
75 virtual MMIDletSuitePropertyTable* MIDletSuitePropertyTableL(void) = 0; |
|
76 |
|
77 virtual MMIDletSuiteTable* MIDletSuiteTableL(void) = 0; |
|
78 |
|
79 virtual MMIDletTable* MIDletTableL(void) = 0; |
|
80 |
|
81 virtual MMIDletSuiteSecurityAttributeTable* SecurityAttributeTableL(void) = 0; |
|
82 |
|
83 virtual MUserSecurityPreferencesTable* UserSecurityPreferencesTableL(void) = 0; |
|
84 |
|
85 virtual DB::MCustomAttribTable* CustomAttribTableL(void) = 0; |
|
86 |
|
87 }; |
|
88 |
|
89 inline MDatabase::~MDatabase() |
|
90 { |
|
91 } |
|
92 |
|
93 IMPORT_C class MDatabase* GetDatabaseL(TUint32 aVersion); |
|
94 |
|
95 } // end of namespace DBv2 |
|
96 } // end of namespace MIDP |
|
97 |
|
98 #endif // MDATABASEV2_H |
|