sysstatemgmt/systemstateplugins/conditionevaluator/inc/cndfeature.h
changeset 0 4e1aa6a622a0
child 5 1a73e8f1b64d
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2007-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:
       
    15 * Name        : conditiononfeature.h
       
    16 * Part of     : System Startup / Condition
       
    17 * Interface   : None
       
    18 * Declaration of CConditionOnFeature class
       
    19 * Version     : %version: 1 %
       
    20 * This material, including documentation and any related computer
       
    21 * programs, is protected by copyright controlled by Nokia.  All
       
    22 * rights are reserved.  Copying, including reproducing, storing,
       
    23 * adapting or translating, any or all of this material requires the
       
    24 * prior written consent of Nokia.  This material also contains
       
    25 * confidential information which may not be disclosed to others
       
    26 * without the prior written consent of Nokia.
       
    27 * Template version: 4.0
       
    28 * Nokia Core OS *
       
    29 * File renamed from conditiononfeature.h to cndfeature.h as part of Core OS transfer.
       
    30 *
       
    31 */
       
    32 
       
    33 
       
    34 
       
    35 
       
    36 /**
       
    37  @file
       
    38  @internalComponent
       
    39  @released
       
    40 */
       
    41 
       
    42 #ifndef __CNDFEATURE_H__
       
    43 #define __CNDFEATURE_H__
       
    44 
       
    45 #include "conditionevaluatebase.h"
       
    46 
       
    47 class CCndFeature : public CConditionEvaluateBase
       
    48 	{
       
    49 public:
       
    50 	~CCndFeature();
       
    51 	static CCndFeature* NewL(const TConditionCheckType aConditionCheckType, const TInt aFeatureId, const TUint32 aCndValue);
       
    52 	static CCndFeature* NewL(const TConditionCheckType aConditionCheckType, const TInt aFeatureId);
       
    53 	virtual TBool EvaluateL() const;
       
    54 
       
    55 private:
       
    56 	CCndFeature(const TConditionCheckType aConditionCheckType, const TInt aFeatureId, const TUint32 aCndValue);
       
    57 
       
    58 private:
       
    59     TConditionCheckType iConditionCheckType;
       
    60     TInt iFeatureId;
       
    61     TUint32 iCndValue;
       
    62 	}; // class CCndFeature
       
    63 
       
    64 #endif // __CNDFEATURE_H__