epoc32/include/ssm/conditiontypes.hrh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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        : conditiontypes.hrh
    16 * Part of     : System Startup / Condition
    17 * Interface   : None
    18 * Identifiers for different condition types, for use in resource
    19 * structs.
    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 *
    31 */
    32 
    33 
    34 
    35 
    36 /**
    37  @file
    38  @internalComponent
    39  @released
    40 */
    41 
    42 #ifndef CONDITIONTYPES_HRH
    43 #define CONDITIONTYPES_HRH
    44 
    45 /** Identifiers for different conditional checks. */
    46 enum TConditionType
    47     {
    48     EFeatureFlag = 1,  // Return TRUE if a feature is supported.
    49     EFeatureFlagData = 2, //Return TRUE if a feature data value matches the value given.
    50     ECentRepFlag = 3,  // Return TRUE if a Central Repository flag is defined.
    51     ECentRepIntVal = 4, // Return TRUE if a value in Central Repository matches the value given.
    52     EPubSubFlag = 5,   // Return TRUE if a Publish & Subscribe flag is defined.
    53     EPubSubIntVal = 6,  // Return TRUE if a value in Publish & Subscribe matches the value given.
    54     ELogicalNot = 7,   // Evaluates to TRUE if the sub-condition evaluates to FALSE.
    55     ELogicalAnd = 8,   // Evaluates to TRUE if both the sub-conditions evaluate to TRUE.
    56     ELogicalOr = 9,     // Evaluates to TRUE if either of the sub-conditions evaluate to TRUE.
    57 #ifdef SYMBIAN_SSM_GRACEFUL_SHUTDOWN 
    58     EGracefulShutdown = 10,   // Return TRUE if SSM Graceful Shutdown is supported.
    59 #endif
    60 	ESwpIntVal = 11, 		// Return TRUE if a value of the SwP matches the value given.
    61 	ESwpFlag = 12 		// Return TRUE if a value of the SwP property flag is defined.
    62     };
    63 
    64 #endif // CONDITIONTYPES_HRH