|
1 /* |
|
2 * Copyright (c) 2009 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: Implementation of applicationmanagement components |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __APPLICATIONMANAGEMENTJAVAUTILITY_H__ |
|
20 #define __APPLICATIONMANAGEMENTJAVAUTILITY_H__ |
|
21 |
|
22 // EXTERNAL INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 #include <javaregistryincludes.h> |
|
26 using namespace Java; |
|
27 |
|
28 // INTERNAL INCLUDES |
|
29 #include "ApplicationManagementUtility.h" |
|
30 |
|
31 namespace NApplicationManagement |
|
32 { |
|
33 |
|
34 // CLASS DEFINITION |
|
35 /** |
|
36 * |
|
37 * |
|
38 * |
|
39 */ |
|
40 class CApplicationManagementJavaUtility : |
|
41 public CApplicationManagementUtility |
|
42 { |
|
43 |
|
44 public: |
|
45 // Constructors and destructors |
|
46 |
|
47 static CApplicationManagementJavaUtility* NewL(); // Static constructor |
|
48 static CApplicationManagementJavaUtility* NewLC(); // Static constructor |
|
49 ~CApplicationManagementJavaUtility(); // Destructor |
|
50 |
|
51 private: |
|
52 // Constructors and destructors |
|
53 |
|
54 CApplicationManagementJavaUtility(); // Default constructor |
|
55 void ConstructL(); // Second phase construct |
|
56 |
|
57 public: |
|
58 // New methods |
|
59 |
|
60 TBool FindInstalledJavaUidL(const TUid &aUid) const; |
|
61 |
|
62 void InstalledSuiteUidsL(RArray <TUid>&); |
|
63 |
|
64 void JavaUidsL(RArray<TUid> &aUids); |
|
65 |
|
66 void RefreshJavaRegistryL(); |
|
67 void GetInstalledMidletParametersL( |
|
68 TMidletParameters& aMidletParameters); |
|
69 |
|
70 private: |
|
71 // Data |
|
72 |
|
73 CJavaRegistry* iJavaRegistry; |
|
74 }; |
|
75 |
|
76 } |
|
77 |
|
78 #endif // __ApplicationManagementJavaUtility_H__ |