diff -r 65e91466a14b -r b7e5ed8c1342 systemswstubs/tiltcompensationstub/inc/common.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemswstubs/tiltcompensationstub/inc/common.h Tue Sep 07 08:19:48 2010 +0300 @@ -0,0 +1,42 @@ +/* +* Copyright (c) 2007 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: Common definitions. +* +*/ + + +#ifndef COMMON_H +#define COMMON_H + +#include + +// CONSTANTS + +/** Panic codes */ +enum TPanicReason + { + EInvalidState, + EAlreadyServingTransaction, + ENotActive, + ENullPointer, + EInvalidTransactionId, + EInvalidEventId, + EIncorrectStateCount, + EAccelerometerChannelNotCreated, + EMagnetometerChannelNotCreated + }; + +#endif // COMMON_H + +// End of File