1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/ssm/ssmadaptation.hrh Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,123 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#ifndef __SSMADAPTATION_HRH__
1.20 +#define __SSMADAPTATION_HRH__
1.21 +
1.22 +/**
1.23 + @publishedPartner
1.24 + @released
1.25 + */
1.26 +enum TSsmRfsType
1.27 + {
1.28 + /**
1.29 + A reset due to restoring factory settings.
1.30 + */
1.31 + ESsmShallowRfs = 0,
1.32 +
1.33 + /**
1.34 + A reset (deep) due to restoring factory settings.
1.35 + */
1.36 + ESsmDeepRfs,
1.37 +
1.38 + /**
1.39 + Extension of new types.
1.40 + */
1.41 + ESsmRfsTypeExtensionBase = 0x8000
1.42 + };
1.43 +
1.44 +/**
1.45 + @publishedPartner
1.46 + @released
1.47 + */
1.48 +enum TSsmCoopSysEventType
1.49 + {
1.50 + /**
1.51 + A fatal error on the cooperating system.
1.52 + */
1.53 + ESsmFatalCoopSysError = 0,
1.54 +
1.55 + /**
1.56 + Cooperating system shutting down.
1.57 + */
1.58 + ESsmShutdownDevice,
1.59 +
1.60 + /**
1.61 + Cooperating system restarting.
1.62 + */
1.63 + ESsmRestartDevice,
1.64 +
1.65 + /**
1.66 + Extension of new types.
1.67 + */
1.68 + ESsmCoopSysEventTypeExtensionBase = 0x8000
1.69 + };
1.70 +
1.71 +/**
1.72 + @publishedPartner
1.73 + @released
1.74 + */
1.75 +enum TSsmSimEventType
1.76 + {
1.77 + /**
1.78 + The SIM card is fully usable.
1.79 + */
1.80 + ESsmSimUsable,
1.81 +
1.82 + /**
1.83 + The SIM card is not fully usable, but the emergency number can be read.
1.84 + */
1.85 + ESsmSimReadable,
1.86 +
1.87 + /**
1.88 + The SIM card is disconnected, but still physically attached in the terminal (recoverable situation).
1.89 + */
1.90 + ESsmSimNotReady,
1.91 +
1.92 + /**
1.93 + The SIM card has been totally removed from the terminal (nonrecoverable situation).
1.94 + */
1.95 + ESsmSimRemoved,
1.96 +
1.97 + /**
1.98 + Extension of new types.
1.99 + */
1.100 + ESsmSimEventTypeExtensionBase = 0x8000
1.101 + };
1.102 +
1.103 +
1.104 +/**
1.105 + @publishedPartner
1.106 + @released
1.107 + */
1.108 +enum TSsmLanguageListPriority
1.109 + {
1.110 + /**
1.111 + Return list of language codes based on the most preferred language list.
1.112 + */
1.113 + EPrimaryLanguages,
1.114 +
1.115 + /**
1.116 + Return list of language codes based on the second preferred language list.
1.117 + */
1.118 + ESecondaryLanguages,
1.119 +
1.120 + /**
1.121 + Return list of language codes based on the third preferred language list.
1.122 + */
1.123 + ETertiaryLanguages
1.124 + };
1.125 +
1.126 +#endif //__SSMADAPTATION_HRH__