javamanager/javasettings/appmngrplugin/inc/appmngr2midletresourcehandler.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 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:  MidletAppInfo represents installed Java applications
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef APPMNGR2MIDLETRESOURCEHANDLER_H
       
    19 #define APPMNGR2MIDLETRESOURCEHANDLER_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <eikenv.h>                     // CEikonEnv
       
    23 
       
    24 /**
       
    25  * Resource handler
       
    26  *
       
    27  *
       
    28  * @lib appmngr2midletplugin.dll
       
    29  * @since S60 v9.2
       
    30  */
       
    31 class CAppMngr2MidletResourceHandler : CBase
       
    32 {
       
    33 public:
       
    34 
       
    35     /**
       
    36     * Two-phased constructor.
       
    37     */
       
    38     static CAppMngr2MidletResourceHandler* NewL();
       
    39 
       
    40     /**
       
    41      * Destructor.
       
    42      */
       
    43     virtual ~CAppMngr2MidletResourceHandler();
       
    44 
       
    45 private:
       
    46 
       
    47     CAppMngr2MidletResourceHandler();
       
    48 
       
    49     /**
       
    50      * Second phase constructor
       
    51      *
       
    52      * @since S60 9.2
       
    53      */
       
    54     void ConstructL();
       
    55 
       
    56 public:
       
    57 
       
    58     /**
       
    59      */
       
    60     TInt AddResourceFileL();
       
    61 
       
    62     /**
       
    63      */
       
    64     void DeleteResourceFile(TInt);
       
    65 
       
    66 private:
       
    67 
       
    68     CEikonEnv* iEnv;
       
    69     TFileName iResourceFileName;
       
    70 };
       
    71 
       
    72 #endif // APPMNGR2MIDLETRESOURCEHANDLER_H
       
    73