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