diff -r a2efdd544abf -r b47902b73a93 datasourceadaptation/gpsdatasourceadaptation/common/inc/psypanic.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datasourceadaptation/gpsdatasourceadaptation/common/inc/psypanic.h Fri Jun 04 10:34:15 2010 +0100 @@ -0,0 +1,52 @@ +// Copyright (c) 2008-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 + @InternalComponent +*/ + +#ifndef PSYPANIC_H +#define PSYPANIC_H + +#include + +#ifdef _DEBUG + +//Panic reason +enum TPanicReason + { + EPanicInvalidCase, // Invalid case in switch clause. + EPanicProcessDefination, // Invalid process defination during connection. + EPanicUnknownPositioningClass, // Unkown positioning class. + EPanicSingletonNotConstructed, // Singleton not constructed. + EPanicIndexOutOfRange, // Index out of range. + EPanicQNotEmpty, // CPositionerQ destroyed when not empty + EPanicUnknownUpdateError, // Error is not in the known range + EPanicIStatusNotSet, // iStatus used when it is not set + EPanicPositionCopyFailed, // Copy of poition info returned an error + EPanicUnknownTimerEventId, // An unknown timer event occurred + EPanicModeMergeFailed, // A merge of the positioning modes for existing requests failed + EPanicNewRequestInactive // An attempt was made to merge an inactive request + }; + +//AdaptationPSY panic category +_LIT(KAdaptationPanicCategory, "AdaptationPSY"); + +#endif //_DEBUG + +#endif +// End of File +