--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyserverplugins/multimodetsy/hayes/panic.h Tue Feb 02 01:41:59 2010 +0200
@@ -0,0 +1,126 @@
+// Copyright (c) 1997-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:
+// Panic codes and panic function. This header should be kept private and not exported to
+// /epoc32/include/
+//
+//
+
+/**
+ @file
+ @internalAll
+*/
+
+#ifndef __PANIC_H__
+#define __PANIC_H__
+/**
+@internalComponent
+*/
+enum TTSYPanic
+ {
+//
+// 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.
+//
+ 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,
+ EIllegalNullPtrParameter
+
+ };
+/**
+@publishedAll
+*/
+GLREF_C void Panic(TTSYPanic aPanicNumber);
+
+#endif