sensorservices/tiltcompensationssy/inc/common.h
author Shabe Razvi <shaber@symbian.org>
Tue, 15 Jun 2010 14:45:25 +0100
branchGCC_SURGE
changeset 36 65d26072ec24
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Bug 2965 - GCC compilation issues in sf/os/devicesrv

/*
* 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 <e32std.h>

// CONSTANTS

/** Panic codes */
enum TPanicReason
    {
    EInvalidState,
    EAlreadyServingTransaction,
    ENotActive,
    ENullPointer,
    EInvalidTransactionId,
    EInvalidEventId,
    EIncorrectStateCount,
    EAccelerometerChannelNotCreated,
    EMagnetometerChannelNotCreated
    };

#endif // COMMON_H

// End of File