equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2008 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". |
133 */ |
133 */ |
134 virtual void SilentInstallJavaL( RFile& aFile, |
134 virtual void SilentInstallJavaL( RFile& aFile, |
135 const TDesC& aMimeType, |
135 const TDesC& aMimeType, |
136 const TDesC8& aDescriptorData, |
136 const TDesC8& aDescriptorData, |
137 const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0; |
137 const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0; |
|
138 |
|
139 /* |
|
140 * Use SWI API to install widget silently. |
|
141 */ |
|
142 virtual void SilentInstallWidgetL(RFile& aFile, |
|
143 const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0; |
138 |
144 |
139 /** |
145 /** |
140 * Cancels the silent installation if it is going on. |
146 * Cancels the silent installation if it is going on. |
141 * |
147 * |
142 * @note If the installation has almost finished, the cancel request |
148 * @note If the installation has almost finished, the cancel request |
182 */ |
188 */ |
183 virtual TBool IsApplicationInstalledL( const TUid& aUid ) = 0; |
189 virtual TBool IsApplicationInstalledL( const TUid& aUid ) = 0; |
184 |
190 |
185 virtual TNcdApplicationStatus IsApplicationInstalledL( |
191 virtual TNcdApplicationStatus IsApplicationInstalledL( |
186 const TUid& aUid, const TCatalogsVersion& aVersion ) = 0; |
192 const TUid& aUid, const TCatalogsVersion& aVersion ) = 0; |
187 |
193 |
|
194 /** |
|
195 * Use widget registry API to check if certain widget with given identifier |
|
196 * has been installed already. |
|
197 */ |
|
198 virtual TNcdApplicationStatus IsWidgetInstalledL( |
|
199 const TDesC& aIdentifier, const TCatalogsVersion& aVersion) = 0; |
|
200 |
|
201 /** |
|
202 * Calling widget registry API to return the Uid of the widget |
|
203 * with given identifier. |
|
204 */ |
|
205 virtual TUid WidgetUidL( const TDesC& aIdentifier) = 0; |
|
206 |
188 /** |
207 /** |
189 * Gets the first SID from the SIS registry package |
208 * Gets the first SID from the SIS registry package |
190 * by using application UID. |
209 * by using application UID. |
191 * @param aUid UID of the application. |
210 * @param aUid UID of the application. |
192 * @return TUid KNullUid if package not found. |
211 * @return TUid KNullUid if package not found. |