applicationmanagement/server/inc/ApplicationManagementJavaUtility.h
changeset 0 3ce708148e4d
child 57 6757f1e2efd2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/applicationmanagement/server/inc/ApplicationManagementJavaUtility.h	Thu Dec 17 08:40:12 2009 +0200
@@ -0,0 +1,78 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+ *
+ * Description:  Implementation of applicationmanagement components
+ *
+*/
+
+
+#ifndef __APPLICATIONMANAGEMENTJAVAUTILITY_H__
+#define __APPLICATIONMANAGEMENTJAVAUTILITY_H__
+
+//  EXTERNAL INCLUDES
+#include <e32base.h>
+
+#include <javaregistryincludes.h>
+using namespace Java;
+
+//  INTERNAL INCLUDES
+#include "ApplicationManagementUtility.h"
+
+namespace NApplicationManagement
+    {
+
+    //  CLASS DEFINITION
+    /**
+     *
+     *   
+     *
+     */
+    class CApplicationManagementJavaUtility :
+        public CApplicationManagementUtility
+        {
+
+public:
+        // Constructors and destructors
+
+        static CApplicationManagementJavaUtility* NewL(); // Static constructor
+        static CApplicationManagementJavaUtility* NewLC(); // Static constructor
+        ~CApplicationManagementJavaUtility(); // Destructor
+
+private:
+        // Constructors and destructors
+
+        CApplicationManagementJavaUtility(); // Default constructor
+        void ConstructL(); // Second phase construct
+
+public:
+        // New methods
+
+        TBool FindInstalledJavaUidL(const TUid &aUid) const;
+
+        void InstalledSuiteUidsL(RArray <TUid>&);
+
+        void JavaUidsL(RArray<TUid> &aUids);
+
+        void RefreshJavaRegistryL();
+        void GetInstalledMidletParametersL(
+                TMidletParameters& aMidletParameters);
+
+private:
+        // Data
+
+        CJavaRegistry* iJavaRegistry;
+        };
+
+    }
+
+#endif      //  __ApplicationManagementJavaUtility_H__