1 /* |
|
2 * Copyright (c) 2006-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: writeablejavaregistryapplicationentry implementation |
|
15 * : (__JAVA_EXCLUDED VERSION) |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // INCLUDES |
|
21 #include "writeablejavaregistryapplicationentry.h" |
|
22 #include "javaattributes.h" |
|
23 |
|
24 using namespace Java; |
|
25 using namespace Java::Manager::Registry; |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS ============================= |
|
28 |
|
29 // --------------------------------------------------------------------------- |
|
30 // CWriteableJavaRegistryApplicationEntry::~CWriteableJavaRegistryApplicationEntry |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 EXPORT_C CWriteableJavaRegistryApplicationEntry::~CWriteableJavaRegistryApplicationEntry() |
|
34 { |
|
35 } |
|
36 // CWriteableJavaRegistryApplicationEntry::NewL |
|
37 // --------------------------------------------------------------------------- |
|
38 // |
|
39 EXPORT_C CWriteableJavaRegistryApplicationEntry* |
|
40 CWriteableJavaRegistryApplicationEntry::NewL(const TUid& /* aUid */) |
|
41 { |
|
42 User::Leave(KErrNotSupported); |
|
43 return NULL; |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // CWriteableJavaRegistryApplicationEntry::NewLC |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 EXPORT_C CWriteableJavaRegistryApplicationEntry* |
|
51 CWriteableJavaRegistryApplicationEntry::NewLC(const TUid& /* aUid */) |
|
52 { |
|
53 User::Leave(KErrNotSupported); |
|
54 return NULL; |
|
55 } |
|
56 |
|
57 // --------------------------------------------------------------------------- |
|
58 // CWriteableJavaRegistryApplicationEntry::IsStartable |
|
59 // --------------------------------------------------------------------------- |
|
60 // |
|
61 EXPORT_C TBool CWriteableJavaRegistryApplicationEntry::IsStartable() const |
|
62 { |
|
63 return EFalse; // ETrue ? regarding to the header file |
|
64 } |
|
65 |
|
66 // --------------------------------------------------------------------------- |
|
67 // CWriteableJavaRegistryApplicationEntry::IsVisible |
|
68 // --------------------------------------------------------------------------- |
|
69 // |
|
70 EXPORT_C TBool CWriteableJavaRegistryApplicationEntry::IsVisible() const |
|
71 { |
|
72 return EFalse; // ETrue ? regarding to the header file |
|
73 } |
|
74 |
|
75 // --------------------------------------------------------------------------- |
|
76 // CWriteableJavaRegistryApplicationEntry::IsResident |
|
77 // --------------------------------------------------------------------------- |
|
78 // |
|
79 EXPORT_C TBool CWriteableJavaRegistryApplicationEntry::IsResident() const |
|
80 { |
|
81 return EFalse; |
|
82 } |
|
83 |
|
84 // --------------------------------------------------------------------------- |
|
85 // CWriteableJavaRegistryApplicationEntry::GroupName |
|
86 // --------------------------------------------------------------------------- |
|
87 // |
|
88 EXPORT_C const TDesC& CWriteableJavaRegistryApplicationEntry:: |
|
89 GroupName() const |
|
90 { |
|
91 return KNullDesC; |
|
92 } |
|
93 |
|
94 // --------------------------------------------------------------------------- |
|
95 // CWriteableJavaRegistryApplicationEntry::InstallPackageUid |
|
96 // --------------------------------------------------------------------------- |
|
97 // |
|
98 EXPORT_C TUid CWriteableJavaRegistryApplicationEntry::InstallPackageUid() const |
|
99 { |
|
100 return TUid::Null(); |
|
101 } |
|
102 |
|
103 // --------------------------------------------------------------------------- |
|
104 // CWriteableJavaRegistryApplicationEntry::SetStartableL |
|
105 // --------------------------------------------------------------------------- |
|
106 // |
|
107 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
108 SetStartableL(TBool /* aStartable */) |
|
109 { |
|
110 User::Leave(KErrNotSupported); |
|
111 } |
|
112 |
|
113 // --------------------------------------------------------------------------- |
|
114 // CWriteableJavaRegistryApplicationEntry::SetVisibleL |
|
115 // --------------------------------------------------------------------------- |
|
116 // |
|
117 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
118 SetVisibleL(TBool /* aVisible */) |
|
119 { |
|
120 User::Leave(KErrNotSupported); |
|
121 } |
|
122 |
|
123 // --------------------------------------------------------------------------- |
|
124 // CWriteableJavaRegistryApplicationEntry::SetResidentL |
|
125 // --------------------------------------------------------------------------- |
|
126 // |
|
127 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
128 SetResidentL(TBool /* aResident */) |
|
129 { |
|
130 User::Leave(KErrNotSupported); |
|
131 } |
|
132 |
|
133 // --------------------------------------------------------------------------- |
|
134 // CWriteableJavaRegistryApplicationEntry::SetGroupNameL |
|
135 // --------------------------------------------------------------------------- |
|
136 // |
|
137 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
138 SetGroupNameL(const TDesC& /* aGroupName */) |
|
139 { |
|
140 User::Leave(KErrNotSupported); |
|
141 } |
|
142 |
|
143 // --------------------------------------------------------------------------- |
|
144 // CWriteableJavaRegistryApplicationEntry::SetInstallPackageUidL |
|
145 // --------------------------------------------------------------------------- |
|
146 // |
|
147 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
148 SetInstallPackageUidL(const TUid& /* aInstallPackage */) |
|
149 { |
|
150 User::Leave(KErrNotSupported); |
|
151 } |
|
152 |
|
153 // --------------------------------------------------------------------------- |
|
154 // CWriteableJavaRegistryApplicationEntry::SetPropertyL |
|
155 // Takes ownership of aProperty |
|
156 // --------------------------------------------------------------------------- |
|
157 // |
|
158 EXPORT_C void CWriteableJavaRegistryApplicationEntry:: |
|
159 SetPropertyL(CJavaProperty* /*aProperty*/) |
|
160 { |
|
161 User::Leave(KErrNotSupported); |
|
162 } |
|
163 |
|
164 // --------------------------------------------------------------------------- |
|
165 // CWriteableJavaRegistryApplicationEntry::PackageEntryL |
|
166 // --------------------------------------------------------------------------- |
|
167 // |
|
168 EXPORT_C CWriteableJavaRegistryPackageEntry* |
|
169 CWriteableJavaRegistryApplicationEntry::PackageEntryL() const |
|
170 { |
|
171 User::Leave(KErrNotSupported); |
|
172 return NULL; |
|
173 } |
|
174 |
|
175 // --------------------------------------------------------------------------- |
|
176 // CWriteableJavaRegistryApplicationEntry:: |
|
177 // CWriteableJavaRegistryApplicationEntry |
|
178 // --------------------------------------------------------------------------- |
|
179 // |
|
180 EXPORT_C CWriteableJavaRegistryApplicationEntry:: |
|
181 CWriteableJavaRegistryApplicationEntry(const TUid& /* aUid */) |
|
182 : CWriteableJavaRegistryEntry(TUid::Null()) |
|
183 { |
|
184 |
|
185 } |
|
186 |
|
187 // --------------------------------------------------------------------------- |
|
188 // CWriteableJavaRegistryApplicationEntry::AttributeL |
|
189 // --------------------------------------------------------------------------- |
|
190 // |
|
191 EXPORT_C const MJavaAttribute* CWriteableJavaRegistryApplicationEntry:: |
|
192 AttributeL(const TDesC& /* aName */) const |
|
193 { |
|
194 return NULL; |
|
195 } |
|
196 |
|
197 // --------------------------------------------------------------------------- |
|
198 // CWriteableJavaRegistryApplicationEntry::AttributesL |
|
199 // --------------------------------------------------------------------------- |
|
200 // |
|
201 EXPORT_C const RPointerArray<MJavaAttribute>& |
|
202 CWriteableJavaRegistryApplicationEntry::AttributesL() const |
|
203 { |
|
204 User::Leave(KErrNotSupported); |
|
205 return iAttributes; |
|
206 } |
|
207 |
|