|
1 /* |
|
2 * Copyright (c) 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: Declaration of MNcdInstallationServiceObserver |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCD_INSTALLATION_SERVICE_OBSERVER_H |
|
20 #define M_NCD_INSTALLATION_SERVICE_OBSERVER_H |
|
21 |
|
22 /** |
|
23 * |
|
24 */ |
|
25 class MNcdInstallationServiceObserver |
|
26 { |
|
27 public: // New functions |
|
28 |
|
29 /** |
|
30 * This function is called when Installation Service has completed |
|
31 * the installation process. |
|
32 * @param aFileName Will contain path and file name, if picture, |
|
33 * ringingtone or similar was installed and a theme name if a theme was installed. |
|
34 * If SIS application was installed this will contain version number of the |
|
35 * installed application. |
|
36 * Will contain KNullDesC for java applications. |
|
37 * @param aAppUid will contain UID if an application was installed, either sis |
|
38 * or java. Contains KNcdThemeSisUid if a theme was installed and |
|
39 * KNullUid for non-applications. |
|
40 * @param aError KErrNone if everything went ok. KErrAbort if the user cancelled |
|
41 * the installation. KNcdThemeReinstalled if a theme was reinstalled. |
|
42 * KNcdThemePossiblyReinstalled if a theme was likely reinstalled. |
|
43 * Otherwise some Symbian error code. |
|
44 */ |
|
45 virtual void InstallationCompleteL( const TDesC& aFileName, |
|
46 const TUid& aAppUid, |
|
47 TInt aError ) = 0; |
|
48 |
|
49 }; |
|
50 |
|
51 #endif // M_NCD_INSTALLATION_SERVICE_OBSERVER_H |