systemswstubs/tiltcompensationstub/inc/common.h
changeset 43 e71858845f73
parent 40 b7e5ed8c1342
child 46 e1758cbb96ac
equal deleted inserted replaced
40:b7e5ed8c1342 43:e71858845f73
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Common definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef COMMON_H
       
    20 #define COMMON_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 // CONSTANTS
       
    25 
       
    26 /** Panic codes */
       
    27 enum TPanicReason
       
    28     {
       
    29     EInvalidState,
       
    30     EAlreadyServingTransaction,
       
    31     ENotActive,
       
    32     ENullPointer,
       
    33     EInvalidTransactionId,
       
    34     EInvalidEventId,
       
    35     EIncorrectStateCount,
       
    36     EAccelerometerChannelNotCreated,
       
    37     EMagnetometerChannelNotCreated
       
    38     };
       
    39 
       
    40 #endif // COMMON_H
       
    41 
       
    42 // End of File