diff -r c742e1129640 -r aa33c2cb9a50 applicationmanagement/server/inc/ApplicationManagementJavaUtility.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/applicationmanagement/server/inc/ApplicationManagementJavaUtility.h Tue Jul 06 14:06:19 2010 +0300 @@ -0,0 +1,76 @@ +/* +* 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 +#include +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 &); + + void JavaUidsL(RArray &aUids); + + void RefreshJavaRegistryL(); + void GetInstalledMidletParametersL( + TMidletParameters& aMidletParameters); + +private: + // Data + + CJavaRegistry* iJavaRegistry; + }; + + } + +#endif // __ApplicationManagementJavaUtility_H__