contextframework/cfw/CenRep/ContextFrameworkPrivateCRKeys.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  Context framework private CenRep keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CONTEXTFRAMEWORKPRIVATECRKEYS_H
       
    20 #define CONTEXTFRAMEWORKPRIVATECRKEYS_H
       
    21 
       
    22 // =============================================================================
       
    23 // Context Source Configuration API
       
    24 // =============================================================================
       
    25 
       
    26 const TUid KCRUidCFContextSourceConf = {0x10282BCC};
       
    27 
       
    28 /**
       
    29 * Describes how many context source plug-ins are listed in the cenrep
       
    30 * settings file.
       
    31 * All the plug-in implementation UIDs will be listed after this key in the
       
    32 * excel sheet.
       
    33 * Type: int
       
    34 */
       
    35 const TUint32 KContextSourceNumberOfMandatoryPlugIns = 0x00000001;
       
    36 
       
    37 // =============================================================================
       
    38 // Rule Script Configuration API
       
    39 // =============================================================================
       
    40 
       
    41 const TUid KCRUidCFRuleScriptConf = {0x10282BCD};
       
    42 
       
    43 /**
       
    44 * Describes how many scripts are listed in the cenrep settings file.
       
    45 * All the script names will be listed after this key in the excel sheet.
       
    46 * Type: int
       
    47 */
       
    48 const TUint32 KCRuleScriptNumberOfMandatoryRules = 0x00000001;
       
    49 
       
    50 // =============================================================================
       
    51 // Action Configuration API
       
    52 // =============================================================================
       
    53 
       
    54 const TUid KCRUidCFActionConf = {0x10282BCE};
       
    55 
       
    56 /**
       
    57 * Describes how many action plug-ins are listed in the cenrep settings file.
       
    58 * All the plug-in implementation UIDs will be listed after this key in the
       
    59 * excel sheet.
       
    60 * Type: int
       
    61 */
       
    62 const TUint32 KActionNumberOfMandatoryPlugIns = 0x00000001;
       
    63 
       
    64 // =============================================================================
       
    65 // Context Framework Common Configuration API
       
    66 // =============================================================================
       
    67 
       
    68 const TUid KCRUidCFCommonConf = {0x2000B195};
       
    69 
       
    70 /**
       
    71 * Defines the maximum size for context data object.
       
    72 * Since the data object can decrease CFW performance, the maximum size of
       
    73 * the data object is restricted.
       
    74 * The default value is 16kB.
       
    75 * Type: int
       
    76 */
       
    77 const TUint32 KContextDataObjectMaxSize = 0x00000001;
       
    78 
       
    79 // =============================================================================
       
    80 // Context Framework Default Application State API
       
    81 // =============================================================================
       
    82 
       
    83 const TUid KCRUidCFApplDefaultState = {0x2000CFD9};
       
    84 
       
    85 /**
       
    86 * Describes application default state for unlisted applications
       
    87 * Possible values are:
       
    88 * 65536  = Application is by default in portrait orientation
       
    89 * 196608 = Application is by default in landscape orientation
       
    90 * 327680 = Application follows the HW specified orientation
       
    91 * Type: int
       
    92 */
       
    93 const TUint32 KApplDefaultState = 0x00000001;
       
    94 
       
    95 #endif