sysstatemgmt/systemstateplugins/conditionevaluator/inc/conditionevaluatebase.h
changeset 0 4e1aa6a622a0
child 7 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        : conditiononpubsub.h
       
    16 * Part of     : System Startup / Condition
       
    17 * Interface   : None
       
    18 * Declaration of CConditionOnPubSub and CConditionOnPubSubFlag
       
    19 * classes
       
    20 * Version     : %version: 1 %
       
    21 * This material, including documentation and any related computer
       
    22 * programs, is protected by copyright controlled by Nokia.  All
       
    23 * rights are reserved.  Copying, including reproducing, storing,
       
    24 * adapting or translating, any or all of this material requires the
       
    25 * prior written consent of Nokia.  This material also contains
       
    26 * confidential information which may not be disclosed to others
       
    27 * without the prior written consent of Nokia.
       
    28 * Template version: 4.0
       
    29 * Nokia Core OS *
       
    30 * File renamed from conditiononpubsub.h to conditionevaluatebase.h as part of Core OS transfer.
       
    31 *
       
    32 */
       
    33 
       
    34 
       
    35 
       
    36 
       
    37 /**
       
    38  @file
       
    39  @internalComponent
       
    40  @released
       
    41 */
       
    42 
       
    43 #ifndef __CONDITIONEVALUATEBASE_H__
       
    44 #define __CONDITIONEVALUATEBASE_H__
       
    45 
       
    46 #include <e32std.h>
       
    47 #include <e32base.h>
       
    48 
       
    49 enum TConditionCheckType
       
    50     {
       
    51     ECompareNone,
       
    52     ECompareValue = 1,		// value comparison
       
    53     ECompareBitwiseAnd,		// Check if a bit is set
       
    54     ECompareFeatureData		// compare feature data value
       
    55     };
       
    56 
       
    57 class CConditionEvaluateBase : public CBase
       
    58 	{
       
    59 public:
       
    60 	virtual TBool EvaluateL() const = 0;
       
    61 
       
    62 	};
       
    63 
       
    64 #endif // __CONDITIONEVALUATEBASE_H__