epoc32/include/ssm/conditiontypes.hrh
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/ssm/conditiontypes.hrh	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,64 @@
     1.4 +/*
     1.5 +* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +* Name        : conditiontypes.hrh
    1.19 +* Part of     : System Startup / Condition
    1.20 +* Interface   : None
    1.21 +* Identifiers for different condition types, for use in resource
    1.22 +* structs.
    1.23 +* Version     : %version: 1 %
    1.24 +* This material, including documentation and any related computer
    1.25 +* programs, is protected by copyright controlled by Nokia.  All
    1.26 +* rights are reserved.  Copying, including reproducing, storing,
    1.27 +* adapting or translating, any or all of this material requires the
    1.28 +* prior written consent of Nokia.  This material also contains
    1.29 +* confidential information which may not be disclosed to others
    1.30 +* without the prior written consent of Nokia.
    1.31 +* Template version: 4.0
    1.32 +* Nokia Core OS *
    1.33 +*
    1.34 +*/
    1.35 +
    1.36 +
    1.37 +
    1.38 +
    1.39 +/**
    1.40 + @file
    1.41 + @internalComponent
    1.42 + @released
    1.43 +*/
    1.44 +
    1.45 +#ifndef CONDITIONTYPES_HRH
    1.46 +#define CONDITIONTYPES_HRH
    1.47 +
    1.48 +/** Identifiers for different conditional checks. */
    1.49 +enum TConditionType
    1.50 +    {
    1.51 +    EFeatureFlag = 1,  // Return TRUE if a feature is supported.
    1.52 +    EFeatureFlagData = 2, //Return TRUE if a feature data value matches the value given.
    1.53 +    ECentRepFlag = 3,  // Return TRUE if a Central Repository flag is defined.
    1.54 +    ECentRepIntVal = 4, // Return TRUE if a value in Central Repository matches the value given.
    1.55 +    EPubSubFlag = 5,   // Return TRUE if a Publish & Subscribe flag is defined.
    1.56 +    EPubSubIntVal = 6,  // Return TRUE if a value in Publish & Subscribe matches the value given.
    1.57 +    ELogicalNot = 7,   // Evaluates to TRUE if the sub-condition evaluates to FALSE.
    1.58 +    ELogicalAnd = 8,   // Evaluates to TRUE if both the sub-conditions evaluate to TRUE.
    1.59 +    ELogicalOr = 9,     // Evaluates to TRUE if either of the sub-conditions evaluate to TRUE.
    1.60 +#ifdef SYMBIAN_SSM_GRACEFUL_SHUTDOWN 
    1.61 +    EGracefulShutdown = 10,   // Return TRUE if SSM Graceful Shutdown is supported.
    1.62 +#endif
    1.63 +	ESwpIntVal = 11, 		// Return TRUE if a value of the SwP matches the value given.
    1.64 +	ESwpFlag = 12 		// Return TRUE if a value of the SwP property flag is defined.
    1.65 +    };
    1.66 +
    1.67 +#endif // CONDITIONTYPES_HRH