applicationmanagement/server/inc/ApplicationManagementJavaUtility.h
changeset 42 aa33c2cb9a50
equal deleted inserted replaced
41:c742e1129640 42:aa33c2cb9a50
       
     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 #include <javaregistryincludes.h>
       
    25 using namespace Java;
       
    26 //  INTERNAL INCLUDES
       
    27 #include "ApplicationManagementUtility.h"
       
    28 
       
    29 namespace NApplicationManagement
       
    30     {
       
    31 
       
    32     //  CLASS DEFINITION
       
    33     /**
       
    34      *
       
    35      *   
       
    36      *
       
    37      */
       
    38     class CApplicationManagementJavaUtility :
       
    39         public CApplicationManagementUtility
       
    40         {
       
    41 
       
    42 public:
       
    43         // Constructors and destructors
       
    44 
       
    45         static CApplicationManagementJavaUtility* NewL(); // Static constructor
       
    46         static CApplicationManagementJavaUtility* NewLC(); // Static constructor
       
    47         ~CApplicationManagementJavaUtility(); // Destructor
       
    48 
       
    49 private:
       
    50         // Constructors and destructors
       
    51 
       
    52         CApplicationManagementJavaUtility(); // Default constructor
       
    53         void ConstructL(); // Second phase construct
       
    54 
       
    55 public:
       
    56         // New methods
       
    57 
       
    58         TBool FindInstalledJavaUidL(const TUid &aUid) const;
       
    59 
       
    60         void InstalledSuiteUidsL(RArray <TUid>&);
       
    61 
       
    62         void JavaUidsL(RArray<TUid> &aUids);
       
    63 
       
    64         void RefreshJavaRegistryL();
       
    65         void GetInstalledMidletParametersL(
       
    66                 TMidletParameters& aMidletParameters);
       
    67 
       
    68 private:
       
    69         // Data
       
    70 
       
    71         CJavaRegistry* iJavaRegistry;
       
    72         };
       
    73 
       
    74     }
       
    75 
       
    76 #endif      //  __ApplicationManagementJavaUtility_H__