equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 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 "Eclipse Public License v1.0" |
5 * under the terms of "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". |
109 |
109 |
110 /** |
110 /** |
111 */ |
111 */ |
112 static TNcdApplicationStatus IsApplicationInstalledL( |
112 static TNcdApplicationStatus IsApplicationInstalledL( |
113 const TUid& aUid, const TDesC& aVersion ); |
113 const TUid& aUid, const TDesC& aVersion ); |
114 |
114 |
|
115 // check if a widget with given identifier is installed already |
|
116 static TNcdApplicationStatus IsWidgetInstalledL( |
|
117 const TDesC& aIdentifier, const TDesC& aVersion ); |
|
118 |
115 |
119 |
|
120 // Calling widget registry API to return the Uid of the widget with given identifier |
|
121 static TUid WidgetUidL( const TDesC& aIdentifier); |
|
122 |
116 /** |
123 /** |
117 * Compares version number strings |
124 * Compares version number strings |
118 * |
125 * |
119 * They are converted as TCatalogsVersion before conversion |
126 * They are converted as TCatalogsVersion before conversion |
120 * @return 0 if versions match, negative value if left < right and |
127 * @return 0 if versions match, negative value if left < right and |