dependencies/ssm/startupdomainpskeys.h
author MattD <mattd@symbian.org>
Thu, 01 Apr 2010 14:50:19 +0100
changeset 48 0d4ac38889fc
parent 26 bef183758dfa
permissions -rw-r--r--
Merged in kashif's, fdim's and my removal of abld.bat and .cproject files onto the fixed up version of Christian's head.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     1
/*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     8
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    11
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    12
* Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    13
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    14
* Description:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    15
* Name        : startupdomainpskeys.h
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    16
* Part of     : System Startup / Starter
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    17
* Interface   : Domain, System State API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    18
* This file contains Domain Publish & Subscribe definitions of Startup subsystem.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    19
* Version     : %version: ou1s60rt#12 %
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    20
* This material, including documentation and any related computer
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    21
* programs, is protected by copyright controlled by Nokia.  All
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    22
* rights are reserved.  Copying, including reproducing, storing,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    23
* adapting or translating, any or all of this material requires the
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    24
* prior written consent of Nokia.  This material also contains
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    25
* confidential information which may not be disclosed to others
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    26
* without the prior written consent of Nokia.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    27
* Template version: 4.0
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    28
* Nokia Core OS *
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    29
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    30
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    31
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    32
#ifndef __STARTUPDOMAINPSKEYS_H__
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    33
#define __STARTUPDOMAINPSKEYS_H__
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    34
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    35
#include <e32property.h>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    36
#include <ssm/startupreason.h>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    37
#include <ssm/simutils.h>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    38
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    39
/*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    40
* @file
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    41
* @publishedPartner
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    42
* @released
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    43
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    44
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    45
const TInt KStartupEnumerationFirstValue = 100;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    46
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    47
static const TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    48
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    49
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    50
// System State API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    51
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    52
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    53
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    54
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    55
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    56
* The system state shared by Symbian OS and Domestic OS.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    57
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    58
const TUint32 KPSGlobalSystemState = 0x00000041;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    59
enum TPSGlobalSystemState
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    60
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    61
    ESwStateStartingUiServices  = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    62
    ESwStateStartingCriticalApps,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    63
    ESwStateSelfTestOK,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    64
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    65
    // States for the security check phase.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    66
    ESwStateSecurityCheck,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    67
    ESwStateCriticalPhaseOK,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    68
    ESwStateEmergencyCallsOnly,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    69
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    70
    // Terminal states defined by the boot mode (and some other variables such as offline mode).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    71
    ESwStateTest,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    72
    ESwStateCharging,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    73
    ESwStateAlarm,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    74
    ESwStateNormalRfOn,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    75
    ESwStateNormalRfOff,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    76
    ESwStateNormalBTSap,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    77
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    78
    // States for notifying adaptation about a terminal state change.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    79
    ESwStateAlarmToCharging,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    80
    ESwStateChargingToAlarm,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    81
    ESwStateChargingToNormal,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    82
    ESwStateAlarmToNormal,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    83
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    84
    // Error states.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    85
    ESwStateFatalStartupError,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    86
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    87
    // A state for shutdown
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    88
    ESwStateShuttingDown
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    89
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    90
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    91
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    92
* The startup mode shared by Symbian OS and Domestic OS.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    93
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    94
const TUint32 KPSGlobalStartupMode = 0x00000042;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    95
enum TPSGlobalStartupMode
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    96
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    97
    EStartupModeNormal = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    98
    EStartupModeAlarm,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    99
    EStartupModeCharging,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   100
    EStartupModeTest
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   101
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   102
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   103
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   104
* Idle screen is ready to be transferred into foreground. Startup animation can be shown.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   105
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   106
const TUint32 KPSIdlePhase1Ok = 0x00000043;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   107
enum TPSIdlePhase1Ok
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   108
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   109
    EIdlePhase1NOK = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   110
    EIdlePhase1Ok
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   111
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   112
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   113
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   114
* Phone application is ready for MO/MT calls. RF can be switched on.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   115
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   116
const TUint32 KPSPhonePhase1Ok = 0x00000044;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   117
enum TPSPhonePhase1Ok
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   118
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   119
    EPhonePhase1NOK = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   120
    EPhonePhase1Ok
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   121
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   122
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   123
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   124
* Used by Starter to publish the additional startup reason (language switch,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   125
* RFS, etc.) for other components to use.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   126
* The correct startup reason is updated to this key early in start-up, and the
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   127
* value stays the same until system is shut down.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   128
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   129
* Contains one of the values of TStartupReason enumeration defined in
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   130
* startupreason.h.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   131
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   132
const TUint32 KPSStartupReason = 0x000000045;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   133
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   134
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   135
* Informs completion of a startup UI sequence phase (animation, graphic, text).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   136
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   137
* After the key is notified with value EStartupUiPhaseAllDone, clients can begin 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   138
* to use UI services without interfering with startup queries or animation(s).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   139
* 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   140
* Clients must not rely on notification of any other value but EStartupUiPhaseAllDone,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   141
* because if an animation or graphic is not shown its completion is not notified either.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   142
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   143
const TUint32 KPSStartupUiPhase = 0x00000046;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   144
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   145
enum TPSStartupUiPhase
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   146
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   147
    EStartupUiPhaseUninitialized = KStartupEnumerationFirstValue, // default value after key definition
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   148
    EStartupUiPhaseSystemWelcomeDone, // startup animation has been displayed
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   149
    EStartupUiPhaseOperatorWelcomeDone, // operator animation / graphic has been displayed
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   150
    EStartupUiPhaseUserWelcomeDone, // user welcome text / graphic has been displayed
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   151
    EStartupUiPhaseAllDone // all the startup related queries and graphics has been displayed
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   152
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   153
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   154
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   155
// Startup Security Status API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   156
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   157
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   158
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   159
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   160
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   161
* Indicates the SIM security status
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   162
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   163
const TUint32 KStartupSimSecurityStatus = 0x00000001;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   164
enum TPSSimSecurityStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   165
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   166
    ESimSecurityStatusUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   167
    ESimRejected,   // The PUK code has been entered incorrectly, so the card is rejected.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   168
    ESimUnaccepted,  // The SIM lock is on, so the card is unaccepted.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   169
    ESimInvalid     //The Sim inserted is not same as the one provided by the operator, so card is invalid.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   170
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   171
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   172
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   173
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   174
* Indicates the SIM lock status
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   175
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   176
const TUint32 KStartupSimLockStatus = 0x00000002;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   177
enum TPSSimLockStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   178
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   179
    ESimLockStatusUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   180
    ESimLockActive,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   181
    ESimLockRestrictionPending,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   182
    ESimLockRestrictionOn,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   183
    ESimLockOk
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   184
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   185
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   186
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   187
* Indicates the Security code status, i.e. is the code required or not.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   188
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   189
const TUint32 KStartupSecurityCodeStatus = 0x00000003;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   190
enum TPSSecurityCodeStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   191
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   192
    ESecurityCodeStatusUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   193
    ESecurityCodeNotRequired,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   194
    ESecurityCodeRequired,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   195
    ESecurityCodeInitWait
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   196
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   197
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   198
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   199
* Used by Security Notifier to notify Startup Application whether the security
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   200
* code query is active.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   201
* Old Shared Data constant name: KSysCodeQueryStatus.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   202
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   203
const TUint32 KStartupSecurityCodeQueryStatus = 0x00000004;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   204
enum TStartupCodeQueryStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   205
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   206
    ESecurityQueryUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   207
    ESecurityQueryNotActive,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   208
    ESecurityQueryActive
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   209
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   210
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   211
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   212
// System Startup Control API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   213
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   214
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   215
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   216
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   217
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   218
* "Boot into Offline Mode" query reply. Startup App shows the query
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   219
* and notifies Starter about the user's choice.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   220
* Old Shared Data constant name: KSysApBootIntoOffline
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   221
**/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   222
const TUint32 KStartupBootIntoOffline = 0x00000011;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   223
enum TStartupBootIntoOffline
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   224
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   225
    EBootIntoOnlineModeUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   226
    EBootIntoOnlineMode,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   227
    EBootIntoOfflineMode
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   228
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   229
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   230
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   231
* To be used by Startup App for notifying Starter
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   232
* of the ongoing clean boot.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   233
* Old Shared Data constant name: KSysApCleanBoot
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   234
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   235
const TUint32 KStartupCleanBoot = 0x00000012;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   236
enum TStartupCleanBoot
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   237
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   238
    EStartupCleanBootUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   239
    EStartupNormalBoot,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   240
    EStartupCleanBoot
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   241
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   242
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   243
/**  
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   244
* To be used by Starter to check whether this is the first boot. This Key will 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   245
* hold the cenrep value same as KStartupFirstBoot , which is persistant across the boots.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   246
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   247
const TUint32 KPSStartupFirstBoot = 0x00000013;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   248
enum TPSStartupFirstBoot
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   249
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   250
    EPSStartupFirstBootUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   251
    EPSStartupFirstBoot,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   252
    EPSStartupNotFirstBoot
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   253
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   254
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   255
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   256
// Splash Screen Shutdown API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   257
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   258
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   259
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   260
const TInt KSplashScreenShutdownAPIBase = 0x00000301;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   261
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   262
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   263
* To be used by Startup App for notifying SplashScreen that it should shut down.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   264
* Changing the value of this key has no effect unless SplashScreen is running.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   265
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   266
const TUint32 KPSSplashShutdown = KSplashScreenShutdownAPIBase;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   267
enum TPSSplashShutdown
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   268
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   269
    ESplashRunning = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   270
    ESplashShutdown
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   271
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   272
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   273
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   274
// Wakeup Alarm API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   275
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   276
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   277
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   278
const TInt KWakeupAlarmAPIBase = 0x00000401;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   279
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   280
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   281
* Starter server sets this value to EWakeupAlarmSet when there are active
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   282
* wakeup alarm(s), and ENoWakeupAlarmsSet when there are no active wakeup
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   283
* alarms.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   284
* A wakeup alarm is an alarm which wakes up the terminal is it is powered off
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   285
* when the alarm occurs.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   286
* An active wakeup alarm is a wakeup alarm which has been set and has not
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   287
* started to alert yet.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   288
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   289
const TUint32 KPSWakeupAlarmStatus = KWakeupAlarmAPIBase;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   290
enum TPSWakeupAlarmStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   291
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   292
    EWakeupAlarmUninitialized = KStartupEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   293
    EWakeupAlarmSet,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   294
    ENoWakeupAlarmsSet
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   295
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   296
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   297
#endif // __STARTUPDOMAINPSKEYS_H__