sysstatemgmt/systemstateplugins/conditionevaluator/inc/cndpublishsubscribe.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        : 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 cndpublishsubscribe.h as part of Core OS transfer.
       
    31 *
       
    32 */
       
    33 
       
    34 
       
    35 
       
    36 
       
    37 /**
       
    38  @file
       
    39  @internalComponent
       
    40  @released
       
    41 */
       
    42 
       
    43 #ifndef __CNDPUBLISHSUBSCRIBE_H__
       
    44 #define __CNDPUBLISHSUBSCRIBE_H__
       
    45 
       
    46 #include "conditionevaluatebase.h"
       
    47 
       
    48 class CCndPublishSubscribe : public CConditionEvaluateBase
       
    49 	{
       
    50 public:
       
    51 	~CCndPublishSubscribe();
       
    52 	static CCndPublishSubscribe* NewL(const TConditionCheckType aConditionCheckType,
       
    53 									const TInt aCategory, const TUint aKey, const TInt aCndValue);
       
    54 	virtual TBool EvaluateL() const;
       
    55 
       
    56 private:
       
    57 
       
    58 	CCndPublishSubscribe(const TConditionCheckType aConditionCheckType, const TInt aCategory,
       
    59 	        			const TUint aKey, const TInt aCndValue);
       
    60 
       
    61 private:
       
    62 	TConditionCheckType iConditionCheckType;
       
    63 	TInt iCategory;
       
    64     TUint iKey;
       
    65     TInt iCndValue;
       
    66 	}; // class CCndPublishSubscribe
       
    67 
       
    68 #endif // __CNDPUBLISHSUBSCRIBE_H__