resourcemgmt/hwrmtargetmodifierplugin/inc/hwrmdefaultlighttargetmodifierplugin.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Hardware Resource Manager Default Light Target Modifier Plugin 
       
    15 *                header file
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __HWRMDDEFAULTLIGHTTARGETMODIFIERPLUGIN_H_
       
    21 #define __HWRMDDEFAULTLIGHTTARGETMODIFIERPLUGIN_H_
       
    22 
       
    23 #include <hwrmtargetmodifierplugin.h>
       
    24 
       
    25 /**
       
    26 *  S60 default Target Modifier Plugin.
       
    27 *  Responsible for modifying targets.
       
    28 *
       
    29 *  @lib HWRMDEFAULTLIGHTTARGETMODIFIERPLUGIN.DLL
       
    30 *  @since S60 v3.2
       
    31 */
       
    32 class CHWRMDefaultLightTargetModifierPlugin : public CHWRMTargetModifierPlugin
       
    33     {
       
    34     public:
       
    35 
       
    36         static CHWRMDefaultLightTargetModifierPlugin* NewL();
       
    37         
       
    38         virtual ~CHWRMDefaultLightTargetModifierPlugin();
       
    39 
       
    40         /**
       
    41         * Method to modify target according to customer specific needs.
       
    42         *
       
    43         * @since S60 v3.2
       
    44         * @see CHWRMTargetModifierPlugin::ModifyTargetL 
       
    45         */
       
    46         virtual TInt ModifyTargetL( TInt aTarget );
       
    47         
       
    48         /**
       
    49         * Method to get full system target.
       
    50         *
       
    51         * @since S60 v3.2
       
    52         * @see CHWRMTargetModifierPlugin::GetFullSystemTarget 
       
    53         */
       
    54         virtual TInt GetFullSystemTarget();
       
    55 
       
    56     private: // Construction
       
    57 
       
    58         CHWRMDefaultLightTargetModifierPlugin();
       
    59         
       
    60         void ConstructL();
       
    61         
       
    62     private: 
       
    63         TBool                  iCoverDisplaySupported;    // ETrue if cover display is supported by platform
       
    64         TBool                  iGripSupported;            // ETrue if grip is supported by platform
       
    65     };
       
    66 
       
    67 #endif // __HWRMDDEFAULTLIGHTTARGETMODIFIERPLUGIN_H_