dependencies/ssm/simutils.h
author kashif.sayed
Fri, 26 Mar 2010 04:17:01 +0530
branchv5backport
changeset 31 a3e98f9c292b
parent 26 bef183758dfa
permissions -rw-r--r--
added missing files user: kashif.sayed added dependencies/AknTaskList.h added dependencies/DRMEvent.h added dependencies/DRMEventObserver.h added dependencies/DRMNotifier.h added dependencies/SchemeDefs.hrh added dependencies/SchemeHandler.h added dependencies/SchemeHandler.inl added dependencies/aiwcommon.hrh added dependencies/aiwdialdata.h added dependencies/drmrightsinfo.h added dependencies/drmutilitytypes.h added dependencies/javaattribute.h added dependencies/javadomainpskeys.h added dependencies/javaregistry.h added dependencies/javaregistryapplicationentry.h added dependencies/javaregistryentry.h added dependencies/javaregistryentrytype.h added dependencies/javaregistrypackageentry.h added dependencies/mjavaattribute.h added dependencies/swi/bld.inf added dependencies/swi/sispackagetrust.h added dependencies/swi/sisregistryentry.h added dependencies/swi/sisregistrylog.h added dependencies/swi/sisregistrysession.h changed .cproject changed dependencies/S3libs/bld.inf changed dependencies/bld.inf
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) 2008-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        : simutils.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, SIM Utils API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    18
* This file contains SIM Utils definitions of Startup subsystem.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    19
* Version     : %version:  1 %
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.2
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 __SIMUTILS_H__
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    33
#define __SIMUTILS_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
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    37
/*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    38
* @file
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    39
* @publishedPartner
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    40
* @released
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    41
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    42
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    43
const TInt KSimUtilsEnumerationFirstValue = 100;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    44
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    45
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    46
// SIM Utils API
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    47
// =============================================================================
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    48
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    49
// Use TUid KPSUidStartup = { 0x101F8766 };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    50
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    51
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    52
* Indicates the current SIM card status.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    53
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    54
const TUint32 KPSSimStatus = 0x00000031;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    55
enum TPSSimStatus
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    56
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    57
    ESimStatusUninitialized = KSimUtilsEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    58
    ESimUsable,         // The Sim card is fully usable.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    59
    ESimReadable,       // The SIM card is not fully usable, but the emergency number can be read.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    60
    ESimNotReady,       // The Sim card is present but not ready or usable.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    61
    ESimNotPresent,     // The Sim card is not present.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    62
    ESimNotSupported    // SIM/RUIM is not supported. Some CDMA phones do not support a SIM/RUIM at all.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    63
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    64
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    65
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    66
* Indicates whether the current SIM card is owned.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    67
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    68
const TUint32 KPSSimOwned = 0x00000032;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    69
enum TPSSimOwned
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    70
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    71
    ESimOwnedUninitialized = KSimUtilsEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    72
    ESimOwned,          // The current Sim card is owned.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    73
    ESimNotOwned        // The current Sim card is not owned.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    74
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    75
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    76
/**
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    77
* Indicates whether the current SIM card is same than the previous one.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    78
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    79
const TUint32 KPSSimChanged = 0x00000033;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    80
enum TPSSimChanged
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    81
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    82
    ESimChangedUninitialized = KSimUtilsEnumerationFirstValue,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    83
    ESimChanged,        // The Sim card has been changed.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    84
    ESimNotChanged      // The Sim card has not been changed.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    85
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    86
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    87
#endif // __SIMUTILS_H__