diff -r 6b1d113cdff3 -r 6638e7f4bd8f smsprotocols/smsstack/gsmu/inc/Gsmumain.h --- a/smsprotocols/smsstack/gsmu/inc/Gsmumain.h Mon May 03 13:37:20 2010 +0300 +++ b/smsprotocols/smsstack/gsmu/inc/Gsmumain.h Thu May 06 15:10:38 2010 +0100 @@ -1,120 +1,120 @@ -// Copyright (c) 1999-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: -// This file implements TGsmuPanic and Panic() -// -// - -/** - @file -*/ - -#ifndef __GSMUMAIN_H__ -#define __GSMUMAIN_H__ - -#include "smsstacklog.h" -#include - -/** - * @internalComponent - */ -enum TGsmuPanic - { -// GSMUELEM.CPP - KGsmuPanicCommandDataLengthTooLong=0x00, - KGsmuPanicNoTelematicInterworking, - KGsmuPanicNoTelematicDevice, - KGsmuPanicNoShortMessageType, - KGsmuPanicNotPossibleToSetNumberPlanIdentification, - KGsmuPanicNoNumberPlanIdentificationDefined, - KGsmuPanicNumQuarterHoursOutOfRange, - KGsmuPanicValidityPeriodOutOfRange, - KGsmuPanicInformationElementIndexOutOfRange, - KGsmuPanicUserDataHeaderTooLong, - KGsmuPanicUnsupportedAlphabet, - KGsmuPanicUserDataBodyTooLong, - KGsmuPanicCommandDataBufferTooLong, - KGsmuPanicTextCompressed, - KGsmuPanicNotSupportedWithDCSBits7To4, - KGsmuPanicUnsupportedValidityPeriodFormat, - KGsmuPanicConversionRetriedOut, - KGsmuPanicDeprecatedMethod, - KGsmuPanicMethodBodyNotImplemented, - KGsmuPanicUnknownInformationElement, -// GSMUPDU.CPP - KGsmuPanicUnsupportedPduType=0x20, - KGsmuPanicDataCodingSchemeNotPresent, - KGsmuPanicMessageNotConcatenated, - KGsmuPanicConcatenatedMessageReferenceOutOfRange, - KGsmuPanicNumConcatenatedMessagePDUsOutOfRange, - KGsmuPanicConcatenatedMessagePDUIndexOutOfRange, - KGsmuPanicProtocolIdentifierNotPresent, - KGsmuPanicParameterIndicatorNotPresent, - KGsmuPanicUserDataNotPresent, - KGsmuPanicToFromAddressNotPresent, - KGsmuPanicNotRPError, - KGsmuPanicPortOutOfRange, - KGsmuPanicSetStatusReportRequestNotSupportedForCommandType, -// GSMUMSG.CPP - KGsmuPanicNotDecoded=0x40, - KGsmuPanicTextNotPresent, - KGsmuPanicFunctionNotSupportedWithTextCompression, - KGsmuPanicSmsArrayNotEmpty, - KGsmuPanicWrongNumberOfMessagePDUs, - KGsmuPanicGsmCompressionDllAlreadyExists, - KGsmuPanicTextTooLong, - KGsmuPanicCompressionNotSupported, - KGsmuPanicUnsupportedForPDUType, - KGsmuPanicBadOptimizationOptions, - KGSMUPanicUserTimeZoneOffsetOutOfRange, - KGsmuPanicInconsistentMessageAttributes, -// GSMUBUF - KGsmuPanicTextHeaderTooLong=0x60, - KGsmuPanicBufferNotReset, -// GSMUSTORE - KGsmuPanicSARStoreAlreadyOpen=0x80, - KGsmuPanicSARStoreEntryArrayNotReset, - KGsmuPanicSARStoreNotOpen, - KGsmuPanicSAREntryDataStreamIdChanged, - KGsmuPanicSAREntryDataStreamIdNotSet, - KGsmuPanicSARStoreTransaction, -// GSMUSAR - KGsmuPanicIllegalSegmentSize=0x90, - KGsmuPanicSegmentBufferTooSmall, -// GSMUPRIV - KGsmuPanicPackStartBitInvalid=0xa0, - KGsmuPanicPackAlphabetInvalid, -// GSMUIEOPERATIONS - KGsmuPanicUnknownInformationElement1=0xb0, - KGsmuPanicUnknownInformationElement2, - KGsmuPanicUnknownInformationElement3, - KGsmuPanicUnknownInformationElement4, - KGsmuPanicUnknownInformationElement5, - KGsmuPanicUnknownInformationElement6, - KGsmuPanicUnknownInformationElement7, - KGsmuPanicUnknownInformationElement8, - KGsmuPanicUnknownInformationElement9, - KGsmuPanicUnknownInformationElement10, - KGsmuPanicUnknownInformationElement11, - KGsmuPanicMethodBodyNotImplemented1, -// GSMUINONEOPERATIONS - KGsmuPanicVersionNotSupported=0xc0 - }; - -/** - * @internalComponent - */ -GLDEF_C void Panic(TGsmuPanic aPanic); - - -#endif // __GSMUMAIN_H__ +// Copyright (c) 1999-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: +// This file implements TGsmuPanic and Panic() +// +// + +/** + @file +*/ + +#ifndef __GSMUMAIN_H__ +#define __GSMUMAIN_H__ + +#include "smsstacklog.h" +#include + +/** + * @internalComponent + */ +enum TGsmuPanic + { +// GSMUELEM.CPP + KGsmuPanicCommandDataLengthTooLong=0x00, + KGsmuPanicNoTelematicInterworking, + KGsmuPanicNoTelematicDevice, + KGsmuPanicNoShortMessageType, + KGsmuPanicNotPossibleToSetNumberPlanIdentification, + KGsmuPanicNoNumberPlanIdentificationDefined, + KGsmuPanicNumQuarterHoursOutOfRange, + KGsmuPanicValidityPeriodOutOfRange, + KGsmuPanicInformationElementIndexOutOfRange, + KGsmuPanicUserDataHeaderTooLong, + KGsmuPanicUnsupportedAlphabet, + KGsmuPanicUserDataBodyTooLong, + KGsmuPanicCommandDataBufferTooLong, + KGsmuPanicTextCompressed, + KGsmuPanicNotSupportedWithDCSBits7To4, + KGsmuPanicUnsupportedValidityPeriodFormat, + KGsmuPanicConversionRetriedOut, + KGsmuPanicDeprecatedMethod, + KGsmuPanicMethodBodyNotImplemented, + KGsmuPanicUnknownInformationElement, +// GSMUPDU.CPP + KGsmuPanicUnsupportedPduType=0x20, + KGsmuPanicDataCodingSchemeNotPresent, + KGsmuPanicMessageNotConcatenated, + KGsmuPanicConcatenatedMessageReferenceOutOfRange, + KGsmuPanicNumConcatenatedMessagePDUsOutOfRange, + KGsmuPanicConcatenatedMessagePDUIndexOutOfRange, + KGsmuPanicProtocolIdentifierNotPresent, + KGsmuPanicParameterIndicatorNotPresent, + KGsmuPanicUserDataNotPresent, + KGsmuPanicToFromAddressNotPresent, + KGsmuPanicNotRPError, + KGsmuPanicPortOutOfRange, + KGsmuPanicSetStatusReportRequestNotSupportedForCommandType, +// GSMUMSG.CPP + KGsmuPanicNotDecoded=0x40, + KGsmuPanicTextNotPresent, + KGsmuPanicFunctionNotSupportedWithTextCompression, + KGsmuPanicSmsArrayNotEmpty, + KGsmuPanicWrongNumberOfMessagePDUs, + KGsmuPanicGsmCompressionDllAlreadyExists, + KGsmuPanicTextTooLong, + KGsmuPanicCompressionNotSupported, + KGsmuPanicUnsupportedForPDUType, + KGsmuPanicBadOptimizationOptions, + KGSMUPanicUserTimeZoneOffsetOutOfRange, + KGsmuPanicInconsistentMessageAttributes, +// GSMUBUF + KGsmuPanicTextHeaderTooLong=0x60, + KGsmuPanicBufferNotReset, +// GSMUSTORE + KGsmuPanicSARStoreAlreadyOpen=0x80, + KGsmuPanicSARStoreEntryArrayNotReset, + KGsmuPanicSARStoreNotOpen, + KGsmuPanicSAREntryDataStreamIdChanged, + KGsmuPanicSAREntryDataStreamIdNotSet, + KGsmuPanicSARStoreTransaction, +// GSMUSAR + KGsmuPanicIllegalSegmentSize=0x90, + KGsmuPanicSegmentBufferTooSmall, +// GSMUPRIV + KGsmuPanicPackStartBitInvalid=0xa0, + KGsmuPanicPackAlphabetInvalid, +// GSMUIEOPERATIONS + KGsmuPanicUnknownInformationElement1=0xb0, + KGsmuPanicUnknownInformationElement2, + KGsmuPanicUnknownInformationElement3, + KGsmuPanicUnknownInformationElement4, + KGsmuPanicUnknownInformationElement5, + KGsmuPanicUnknownInformationElement6, + KGsmuPanicUnknownInformationElement7, + KGsmuPanicUnknownInformationElement8, + KGsmuPanicUnknownInformationElement9, + KGsmuPanicUnknownInformationElement10, + KGsmuPanicUnknownInformationElement11, + KGsmuPanicMethodBodyNotImplemented1, +// GSMUINONEOPERATIONS + KGsmuPanicVersionNotSupported=0xc0 + }; + +/** + * @internalComponent + */ +GLDEF_C void Panic(TGsmuPanic aPanic); + + +#endif // __GSMUMAIN_H__