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 "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __SMUTMAIN_H__
17 #define __SMUTMAIN_H__
25 const TInt KSmscSessionPriority = CActive::EPriorityStandard;
31 _LIT(KSmcmDllName,"SMCM");
34 The panic codes used by the SMS client MTM.
41 ESmutPanicUnsupportedMsgType = 0,
43 ESmscWrongContextType = 2,
44 ESmscPanicUnexpectedCommand = 3,
45 ESmscUnrecognizedEntryType = 4,
46 ESmscAddresseeIndexOutOfRange = 5,
47 ESmscRecpAddresseeMiscount = 6,
48 ESmscDefaultSCOutOfRange = 7,
49 ESmscVPOutOfRange = 8,
51 @deprecated Currently not used.
53 ESmscRetryLimitOutOfRange = 9,
54 ESmscBioMsgIdTypeError = 10,
55 ESmscSettingsNotSet = 11,
56 ESmscServiceIdNotSet = 12,
58 @deprecated Currently not used.
60 ESmscSimParamWrongType = 13,
62 @deprecated Currently not used.
64 ESmscSimParamExistingOperation = 14,
66 @deprecated Currently not used.
68 ESmscSimParamInvalidProgressCount = 15,
70 @deprecated Currently not used.
72 ESmscWrongCommDbAction = 16,
74 ESmscFunctionNotSupported = 17
80 @param aPanic The panic code.
85 inline void Panic(TSmcmPanic aPanic)
87 _LIT(KSmcmPanic, "SMCM");
88 User::Panic(KSmcmPanic, aPanic);
91 #endif // __SMUTMAIN_H__