sysstatemgmt/systemstatereferenceplugins/clayer/inc/starterprivatecrkeys.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        : starterprivatecrkeys.h
       
    16 * Part of     : System Startup / Starter
       
    17 * Interface   : Private, Starter Configuration API.
       
    18 * Private Central Repository definitions of Starter component.
       
    19 * Version     : %version: 2 %
       
    20 * This material, including documentation and any related computer
       
    21 * programs, is protected by copyright controlled by Nokia.  All
       
    22 * rights are reserved.  Copying, including reproducing, storing,
       
    23 * adapting or translating, any or all of this material requires the
       
    24 * prior written consent of Nokia.  This material also contains
       
    25 * confidential information which may not be disclosed to others
       
    26 * without the prior written consent of Nokia.
       
    27 * Template version: 4.0
       
    28 * Nokia Core OS *
       
    29 *
       
    30 */
       
    31 
       
    32 
       
    33 
       
    34 #ifndef STARTERPRIVATECRKEYS_H
       
    35 #define STARTERPRIVATECRKEYS_H
       
    36 
       
    37 #include <centralrepository.h>
       
    38 #include <ssm/starterdomaincrkeys.h>
       
    39 
       
    40 /*
       
    41 * @publishedPartner
       
    42 * @released
       
    43 */
       
    44 
       
    45 // =============================================================================
       
    46 // Starter Configuration API
       
    47 // =============================================================================
       
    48 //
       
    49 static const TUid KCRUidStarterConf = { 0x2000B11D };
       
    50 	
       
    51 /**
       
    52 * Used for determining if a component has been running for a long time or if it
       
    53 * has been started just recently. This information is required when deciding
       
    54 * whether to try to re-start the component if it dies for some reason.
       
    55 * Key value is a time limit (in seconds) which determines whether the item
       
    56 * has been started recently or a while ago.
       
    57 */
       
    58 const TUint32 KStarterMonitoringTimeLimit = 0x00000001;
       
    59 
       
    60 /**
       
    61 * Enable / disable SIMless Offline Mode.
       
    62 * Old Shared Data constant name: KCoreAppUIsSimlessStartup
       
    63 */
       
    64 const TUint32 KStartupSimlessOffline = 0x00000002;
       
    65 enum TSimlessOfflineMode
       
    66     {
       
    67     ESimlessOfflineDisabled = 0,
       
    68     ESimlessOfflineEnabled
       
    69     };
       
    70 
       
    71 /**
       
    72 * String that defines the path to first startup list extension resource file.
       
    73 * Empty value indicates that there is no startup list extension resource file.
       
    74 */
       
    75 const TUint32 KStartupListExtension1Path = 0x00000003;
       
    76 
       
    77 /**
       
    78 * String that defines the path to second startup list extension resource file.
       
    79 * Empty value indicates that there is no startup list extension resource file.
       
    80 */
       
    81 const TUint32 KStartupListExtension2Path = 0x00000004;
       
    82 
       
    83 // =============================================================================
       
    84 // Startup Adaptation Configuration API
       
    85 // =============================================================================
       
    86 //
       
    87 // Use KCRUidStarterConf
       
    88 
       
    89 const TInt KStartupAdaptationConfigurationAPIBase = 0x00000101;
       
    90 
       
    91 /**
       
    92 * Indicates the timeout for plug-in calls in milliseconds.
       
    93 */
       
    94 const TUint32 KStartupPluginTimeout = KStartupAdaptationConfigurationAPIBase;
       
    95 
       
    96 /**
       
    97 * Indicates the amount of subsequent resets.
       
    98 */
       
    99 const TUint32 KStartupResetCounter = KStartupAdaptationConfigurationAPIBase + 1;
       
   100 
       
   101 /**
       
   102 * Indicates the maximum amount of subsequent resets allowed.
       
   103 */
       
   104 const TUint32 KStartupResetLimit = KStartupAdaptationConfigurationAPIBase + 2;
       
   105 
       
   106 // =============================================================================
       
   107 // SIM Language API
       
   108 // =============================================================================
       
   109 //
       
   110 // Use KCRUidStartup
       
   111 
       
   112 const TInt KSIMLanguageAPIBase = 0x00010001;
       
   113 
       
   114 /**
       
   115 * The selected SIM Language.
       
   116 * Possible values: 0 (default, no selection) or one of TLanguage values.
       
   117 * Used by automatic language selection to store the last selected language
       
   118 * code.
       
   119 */
       
   120 const TUint32 KStartupSimLanguage = KSIMLanguageAPIBase;
       
   121 
       
   122 #endif // STARTERPRIVATECRKEYS_H
       
   123 
       
   124 // End of File
       
   125