epoc32/include/app/smcmmain.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/smcmmain.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 1999-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __SMUTMAIN_H__
    17 #define __SMUTMAIN_H__
    18 
    19 #include <e32base.h>
    20 
    21 /**
    22 @deprecated
    23 @internalComponent
    24 */
    25 const TInt KSmscSessionPriority = CActive::EPriorityStandard;
    26 
    27 /**
    28 @deprecated
    29 @internalComponent
    30 */
    31 _LIT(KSmcmDllName,"SMCM");
    32 
    33 /**
    34 The panic codes used by the SMS client MTM.
    35 
    36 @internalComponent
    37 @released
    38 */
    39 enum TSmcmPanic
    40 	{
    41 	ESmutPanicUnsupportedMsgType		= 0,
    42 	ESmscEntryNotSet					= 1,
    43 	ESmscWrongContextType				= 2,
    44 	ESmscPanicUnexpectedCommand			= 3,
    45 	ESmscUnrecognizedEntryType			= 4,
    46 	ESmscAddresseeIndexOutOfRange		= 5,
    47 	ESmscRecpAddresseeMiscount			= 6,
    48 	ESmscDefaultSCOutOfRange			= 7,
    49 	ESmscVPOutOfRange					= 8,
    50 /**
    51 @deprecated	Currently not used.
    52 */
    53 	ESmscRetryLimitOutOfRange			= 9,
    54 	ESmscBioMsgIdTypeError				= 10,
    55 	ESmscSettingsNotSet					= 11,
    56 	ESmscServiceIdNotSet				= 12,
    57 /**
    58 @deprecated	Currently not used.
    59 */
    60 	ESmscSimParamWrongType				= 13,
    61 /**
    62 @deprecated	Currently not used.
    63 */
    64 	ESmscSimParamExistingOperation		= 14,
    65 /**
    66 @deprecated	Currently not used.
    67 */
    68 	ESmscSimParamInvalidProgressCount	= 15,
    69 /**
    70 @deprecated	Currently not used.
    71 */
    72 	ESmscWrongCommDbAction				= 16,
    73 
    74 	ESmscFunctionNotSupported			= 17
    75 	};
    76 
    77 /**
    78 Panic function.
    79 
    80 @param	aPanic	The panic code.
    81 
    82 @internalComponent
    83 @released
    84 */
    85 inline void Panic(TSmcmPanic aPanic)
    86 	{
    87 	_LIT(KSmcmPanic, "SMCM");
    88 	User::Panic(KSmcmPanic, aPanic);
    89 	}
    90 
    91 #endif	// __SMUTMAIN_H__