equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // apgupdate.h |
|
15 // |
|
16 |
|
17 #ifndef __APGUPDATE_H__ |
|
18 #define __APGUPDATE_H__ |
|
19 |
|
20 #include <e32std.h> |
|
21 #include <f32file.h> |
|
22 #include <s32strm.h> |
|
23 |
|
24 |
|
25 /* |
|
26 * Contains application uid and corresponding action performed by installer. |
|
27 * @publishedAll |
|
28 */ |
|
29 class TApaAppUpdateInfo |
|
30 { |
|
31 public: |
|
32 /* |
|
33 * Defines actions performed by installers on an application. |
|
34 * @publishedAll |
|
35 */ |
|
36 enum TApaAppAction |
|
37 { |
|
38 //Application is installed or upgraded. |
|
39 EAppPresent, |
|
40 //Application is uninstalled. |
|
41 EAppNotPresent, |
|
42 //Application information is changed. |
|
43 EAppInfoChanged |
|
44 }; |
|
45 |
|
46 public: |
|
47 IMPORT_C void InternalizeL(RReadStream& aReadStream); |
|
48 IMPORT_C void ExternalizeL(RWriteStream& aWriteStream) const; |
|
49 IMPORT_C TApaAppUpdateInfo(TUid aAppUid, TApaAppUpdateInfo::TApaAppAction aAction); |
|
50 IMPORT_C TApaAppUpdateInfo(); |
|
51 public: |
|
52 TUid iAppUid; |
|
53 TApaAppAction iAction; |
|
54 }; |
|
55 #endif //__APGUPDATE_H__ |