|
1 // Copyright (c) 1997-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 // Te_SimTsyPanic.H |
|
15 // Panic codes and panic function. This header should be kept private and not exported to |
|
16 // /epoc32/include/ |
|
17 // |
|
18 // |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #ifndef __PANIC_H__ |
|
26 #define __PANIC_H__ |
|
27 |
|
28 enum TTSYPanic |
|
29 { |
|
30 // |
|
31 // Please add new panic codes to the end of the list so that panic code values |
|
32 // do not change meaning. |
|
33 // You can name the panic code as you wish. |
|
34 // |
|
35 EGeneral, |
|
36 EUnexpectedState, |
|
37 EATCommand_NotConstructed, |
|
38 EATCommand_IllegalCompletionWaitExpected, |
|
39 EATCommand_IllegalCompletionWriteExpected, |
|
40 EATCommand_IllegalCompletionWriteNotExpected, |
|
41 EATCommand_IllegalCompletionReadExpected, |
|
42 EATCommand_IllegalCompletionReadNotExpected, |
|
43 EATCommand_IllegalWaitCompletion, |
|
44 EATCommand_IllegalResponse, |
|
45 EIllegalTsyReqHandle, |
|
46 EIllegalPanicOccurredValue, |
|
47 EIllegalOwnedState, |
|
48 ENotifications_Remaining, |
|
49 ELastEvents_Remaining, |
|
50 ECalls_Remaining, |
|
51 EFaxPtrNull, |
|
52 EFaxCompletionPtrNull, |
|
53 EATCommand_NotInProgress, |
|
54 ERelinquishOwnershipWithNoCall, |
|
55 EIllegalTsyNameInConnectedModemRecord, |
|
56 EIllegalCallDuration, |
|
57 EIllegalEvent, |
|
58 EPreAllocatedCallDoesNotExist, |
|
59 ENewCallDoesNotExist, |
|
60 ECallNameAlreadyExists, |
|
61 ERingingCallNotFound, |
|
62 ELineAlreadyExists, |
|
63 EAcquirerNotFound, |
|
64 EUnknownPhoneBookStorageTypeIndex, |
|
65 EIllegalPhoneBookState, |
|
66 EFaxServerNotNull, |
|
67 ENotDataCallType, |
|
68 EATSmsUtilsDescriptorOverflow, |
|
69 EATSmsUtilsOddNumberOfSemiOctets, |
|
70 EATSmsCommandsWrongRequest, |
|
71 EATSmsCommandsUnknownRequestStage, |
|
72 EATSmsCommandsUnknownRequest, |
|
73 EATSmsCommandsWrongRequestToCancel, |
|
74 EATSmsMessagingSendNullMsgAttributes, |
|
75 EATSmsMessagingSCATooLarge, |
|
76 EATSmsMessagingUnknownRequestCompleted, |
|
77 EMobileSmsMessagingUnknownIPC, |
|
78 EMobileSmsMessagingUnknownParamVersion, |
|
79 EMobileSmsMessagingNotYetImplemented, |
|
80 EMobileSmsMessagingNullParameter, |
|
81 EMobileSmsMessagingUnexpectedState, |
|
82 EMobileSmsMessagingReceiveBufferEmpty, |
|
83 EMobileSmsMessagingASCIIPduHasOddLength, |
|
84 EMobileSmsMessagingDigitCountOutOfRange, |
|
85 EMobileSmsMessagingCanNotReceiveUnstoredMessage, |
|
86 EMobileSmsMessagingMessageNotReserved, |
|
87 EMobileSmsMessagingClientAllocatedTooLittle, |
|
88 EMobileSmsMessagingClientAllocatedTooMuch, |
|
89 EMobileSmsMessagingSmsCapsNotValid, |
|
90 EMobileSmsMessagingIllegalIPCCallForRxMode, |
|
91 EMobileSmsMessagingAlreadyStarted, |
|
92 EMobileSmsMessagingCanNotReceiveStoredMessage, |
|
93 ECMTHandlerDesPassedWithZeroLength, |
|
94 EATGetSignalNullParameter, |
|
95 EReceiveSmsQueueRequestOutstanding, |
|
96 EMobileSmsMessagingPhoneNotSetToAReceiveMode, |
|
97 EMobileSmsMessagingPhoneNotSetToASupportedReceiveMode, |
|
98 ESmsRxQueuePduReadNullPointers, |
|
99 ESmsRxQueuePduReadNoState, |
|
100 ESmsRxQueuePduReadStopCalled, |
|
101 ESmsRxQueuePduReadNonNullExpectString, |
|
102 ESmsRxQueuePduReadNullExpectString, |
|
103 ESmsRxQueuePduReadNullParameter, |
|
104 ESmsRxQueuePduReadSCARemovalFailure, |
|
105 EATSmsUtilsUnknownStoreName, |
|
106 EATWaitForCMTNoState, |
|
107 EATWaitForCMTSCARemovalFailure, |
|
108 EATWaitForCMTPDUTooLong, |
|
109 ETsyConfigNullDBPointer, |
|
110 ETsyConfigAmbiguousModemTables, |
|
111 ETsyConfigMMTSYNotInModemTables, |
|
112 EPacketContextsRemaining, |
|
113 EPacketContextDoesNotExist, |
|
114 EIllegalNullPtrParameter |
|
115 |
|
116 }; |
|
117 |
|
118 GLREF_C void Panic(TTSYPanic aPanicNumber); |
|
119 |
|
120 #endif |