1 /* |
1 /* |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
191 /** |
191 /** |
192 @internalAll |
192 @internalAll |
193 * Returns the SCR component id for the base component (i.e. not an SP package/augmentation) with the given UID. |
193 * Returns the SCR component id for the base component (i.e. not an SP package/augmentation) with the given UID. |
194 */ |
194 */ |
195 IMPORT_C Usif::TComponentId GetComponentIdForUidL(const TUid& aUid); |
195 IMPORT_C Usif::TComponentId GetComponentIdForUidL(const TUid& aUid); |
196 |
|
197 /** |
|
198 * Returns the SCR component id for the component with the given packagename and vendor name |
|
199 * @param aPackageName package name of the existing component |
|
200 * @param aVendorName vendor name of the existing component |
|
201 */ |
|
202 IMPORT_C Usif::TComponentId GetComponentIdForPackageL(const TDesC& aPackageName, const TDesC& aVendorName) const; |
|
203 |
|
204 /** |
|
205 * Gets the array of application uids associated with a given component Id |
|
206 * @param aCompId component Id of the component whose associated applications need to be fetched |
|
207 * @param aAppUids array of application uids associated with the component |
|
208 */ |
|
209 IMPORT_C void GetAppUidsForComponentL(Usif::TComponentId& aCompId, RArray<TUid>& aAppUids); |
|
210 |
|
211 /** |
|
212 * Gets the array of Component Ids associated with a given package. |
|
213 * @param aPackageUid package uid of the component |
|
214 * @param aComponentIds array of component id's associated with the package uid |
|
215 */ |
|
216 IMPORT_C void GetComponentIdsForUidL(TUid& aPackageUid, RArray<Usif::TComponentId>& aComponentIds); |
|
217 |
|
218 /** |
|
219 * Adds application registration information to the Software Component Registry |
|
220 * Note that if the SCR already contains registration information for the given app this will be replaced |
|
221 * |
|
222 * @param aAppRegFile application's registration resource file name(with full path) |
|
223 * @capability Tcb |
|
224 */ |
|
225 IMPORT_C void AddAppRegInfoL(const TDesC& aAppRegFile); |
|
226 |
|
227 /** |
|
228 * Removes application registration information from the Software Component Registry. |
|
229 * Note that this API should be called before the file is actually deleted |
|
230 |
|
231 * @param aAppRegFile application's registration resource file name(with full path) |
|
232 * @capability Tcb |
|
233 */ |
|
234 IMPORT_C void RemoveAppRegInfoL(const TDesC& aAppRegFile); |
|
235 |
|
236 |
|
237 #endif |
196 #endif |
238 |
197 |
239 protected: |
198 protected: |
240 /** |
199 /** |
241 * @internalComponent |
200 * @internalComponent |