|
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: Memory scanning engine registry scanning |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MSENGSISXINFO_H |
|
20 #define MSENGSISXINFO_H |
|
21 |
|
22 // CLASS DECLARATION |
|
23 |
|
24 /** |
|
25 * This class represents a sis registry entry. |
|
26 * |
|
27 * @since 3.2 |
|
28 */ |
|
29 class CMsengSisxInfo : public CBase |
|
30 { |
|
31 public: // Constructors and destructor |
|
32 |
|
33 /** |
|
34 * Constructor. |
|
35 * |
|
36 * @param aEntry - Sis registry entry. |
|
37 * @param aDrive - Drive we are interested in |
|
38 */ |
|
39 static CMsengSisxInfo* NewL( Swi::RSisRegistryEntry& aEntry, TDriveNumber aDrive ); |
|
40 |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CMsengSisxInfo(); |
|
46 |
|
47 public: // New functions |
|
48 |
|
49 |
|
50 public: // Functions from base classes |
|
51 |
|
52 /** |
|
53 * From CAppMngrAppInfo, Get location of the application. |
|
54 * |
|
55 * @since 3.2 |
|
56 * @return Application location. |
|
57 */ |
|
58 TBool RequestedLocation() const; |
|
59 |
|
60 |
|
61 private: |
|
62 |
|
63 /** |
|
64 * 2nd phase constructor. |
|
65 * |
|
66 * @since 3.2 |
|
67 * @param aEntry - Sis registry entry. |
|
68 * @param aDrive - Drive scanning is requested for. |
|
69 */ |
|
70 void ConstructL( Swi::RSisRegistryEntry& aEntry, TDriveNumber aDrive ); |
|
71 |
|
72 private: // Data |
|
73 HBufC* iFileName; // Own |
|
74 RPointerArray<HBufC> iFiles; |
|
75 |
|
76 TBool iRequestedLocation; |
|
77 TUid iUid; |
|
78 }; |
|
79 |
|
80 #endif // MSENGSISXINFO_H |
|
81 |
|
82 // End of File |