--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cbsref/telephonyrefplugins/atltsy/atcommand/generic/inc/panic.h Tue Jun 22 11:02:32 2010 +0100
@@ -0,0 +1,112 @@
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file panic.h
+// Panic codes and panic function. This header should be kept private and not exported to
+// /epoc32/include/
+
+#ifndef __PANIC_H__
+#define __PANIC_H__
+
+/**
+ * Please add new panic codes to the end of the list so that panic code values
+ * do not change meaning.
+ * You can name the panic code as you wish.
+ */
+enum TTSYPanic
+ {
+ EGeneral,
+ EUnexpectedState,
+ EATCommand_NotConstructed,
+ EATCommand_IllegalCompletionWaitExpected,
+ EATCommand_IllegalCompletionWriteExpected,
+ EATCommand_IllegalCompletionWriteNotExpected,
+ EATCommand_IllegalCompletionReadExpected,
+ EATCommand_IllegalCompletionReadNotExpected,
+ EATCommand_IllegalWaitCompletion,
+ EATCommand_IllegalResponse,
+ EIllegalTsyReqHandle,
+ EIllegalPanicOccurredValue,
+ EIllegalOwnedState,
+ ENotifications_Remaining,
+ ELastEvents_Remaining,
+ ECalls_Remaining,
+ EFaxPtrNull,
+ EFaxCompletionPtrNull,
+ EATCommand_NotInProgress,
+ ERelinquishOwnershipWithNoCall,
+ EIllegalTsyNameInConnectedModemRecord,
+ EIllegalCallDuration,
+ EIllegalEvent,
+ EPreAllocatedCallDoesNotExist,
+ ENewCallDoesNotExist,
+ ECallNameAlreadyExists,
+ ERingingCallNotFound,
+ ELineAlreadyExists,
+ EAcquirerNotFound,
+ EUnknownPhoneBookStorageTypeIndex,
+ EIllegalPhoneBookState,
+ EFaxServerNotNull,
+ ENotDataCallType,
+ EATSmsUtilsDescriptorOverflow,
+ EATSmsUtilsOddNumberOfSemiOctets,
+ EATSmsCommandsWrongRequest,
+ EATSmsCommandsUnknownRequestStage,
+ EATSmsCommandsUnknownRequest,
+ EATSmsCommandsWrongRequestToCancel,
+ EATSmsMessagingSendNullMsgAttributes,
+ EATSmsMessagingSCATooLarge,
+ EATSmsMessagingUnknownRequestCompleted,
+ EMobileSmsMessagingUnknownIPC,
+ EMobileSmsMessagingUnknownParamVersion,
+ EMobileSmsMessagingNotYetImplemented,
+ EMobileSmsMessagingNullParameter,
+ EMobileSmsMessagingUnexpectedState,
+ EMobileSmsMessagingReceiveBufferEmpty,
+ EMobileSmsMessagingASCIIPduHasOddLength,
+ EMobileSmsMessagingDigitCountOutOfRange,
+ EMobileSmsMessagingCanNotReceiveUnstoredMessage,
+ EMobileSmsMessagingMessageNotReserved,
+ EMobileSmsMessagingClientAllocatedTooLittle,
+ EMobileSmsMessagingClientAllocatedTooMuch,
+ EMobileSmsMessagingSmsCapsNotValid,
+ EMobileSmsMessagingIllegalIPCCallForRxMode,
+ EMobileSmsMessagingAlreadyStarted,
+ EMobileSmsMessagingCanNotReceiveStoredMessage,
+ ECMTHandlerDesPassedWithZeroLength,
+ EATGetSignalNullParameter,
+ EReceiveSmsQueueRequestOutstanding,
+ EMobileSmsMessagingPhoneNotSetToAReceiveMode,
+ EMobileSmsMessagingPhoneNotSetToASupportedReceiveMode,
+ ESmsRxQueuePduReadNullPointers,
+ ESmsRxQueuePduReadNoState,
+ ESmsRxQueuePduReadStopCalled,
+ ESmsRxQueuePduReadNonNullExpectString,
+ ESmsRxQueuePduReadNullExpectString,
+ ESmsRxQueuePduReadNullParameter,
+ ESmsRxQueuePduReadSCARemovalFailure,
+ EATSmsUtilsUnknownStoreName,
+ EATWaitForCMTNoState,
+ EATWaitForCMTSCARemovalFailure,
+ EATWaitForCMTPDUTooLong,
+ ETsyConfigNullDBPointer,
+ ETsyConfigAmbiguousModemTables,
+ ETsyConfigMMTSYNotInModemTables,
+ EPacketContextsRemaining,
+ EPacketContextDoesNotExist,
+ EUnableToConnectToFlogger,
+ };
+
+GLREF_C void Panic(TTSYPanic aPanicNumber);
+
+#endif