epoc32/include/ssm/ssmadaptation.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 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __SSMADAPTATION_HRH__
    17 #define __SSMADAPTATION_HRH__
    18 
    19 /**
    20  @publishedPartner
    21  @released
    22  */
    23 enum TSsmRfsType
    24 	{
    25 	/**
    26 	A reset due to restoring factory settings.
    27 	*/
    28 	ESsmShallowRfs = 0,
    29 
    30 	/**
    31 	A reset (deep) due to restoring factory settings.
    32 	*/
    33 	ESsmDeepRfs,
    34 
    35 	/**
    36 	Extension of new types.
    37 	*/
    38 	ESsmRfsTypeExtensionBase = 0x8000
    39 	};
    40 
    41 /**
    42  @publishedPartner
    43  @released
    44  */
    45 enum TSsmCoopSysEventType
    46 	{
    47 	/**
    48 	A fatal error on the cooperating system.
    49 	*/
    50 	ESsmFatalCoopSysError = 0,
    51 
    52 	/**
    53 	Cooperating system shutting down.
    54 	*/
    55 	ESsmShutdownDevice,
    56 
    57 	/**
    58 	Cooperating system restarting.
    59 	*/
    60 	ESsmRestartDevice,
    61 
    62 	/**
    63 	Extension of new types.
    64 	*/
    65 	ESsmCoopSysEventTypeExtensionBase = 0x8000
    66 	};
    67 
    68 /**
    69  @publishedPartner
    70  @released
    71  */
    72 enum TSsmSimEventType
    73 	{
    74 	/**
    75 	The SIM card is fully usable.
    76 	*/
    77 	ESsmSimUsable,
    78 
    79 	/**
    80 	The SIM card is not fully usable, but the emergency number can be read.
    81 	*/
    82 	ESsmSimReadable,
    83 
    84 	/**
    85 	The SIM card is disconnected, but still physically attached in the terminal (recoverable situation).
    86 	*/
    87 	ESsmSimNotReady,
    88 
    89 	/**
    90 	The SIM card has been totally removed from the terminal (nonrecoverable situation).
    91 	*/
    92 	ESsmSimRemoved,
    93 
    94 	/**
    95 	Extension of new types.
    96 	*/
    97 	ESsmSimEventTypeExtensionBase = 0x8000
    98 	};
    99 
   100 
   101 /**
   102  @publishedPartner
   103  @released
   104  */
   105 enum TSsmLanguageListPriority
   106 	{
   107 	/**
   108 	Return list of language codes based on the most preferred language list.
   109 	*/
   110 	EPrimaryLanguages,
   111 
   112 	/**
   113 	Return list of language codes based on the second preferred language list.
   114 	*/
   115 	ESecondaryLanguages,
   116 
   117 	/**
   118 	Return list of language codes based on the third preferred language list.
   119 	*/
   120 	ETertiaryLanguages
   121 	};
   122 
   123 #endif	//__SSMADAPTATION_HRH__