systemswstubs/tiltcompensationstub/inc/common.h
changeset 2 ffb8e2ddd8dc
equal deleted inserted replaced
0:0ce1b5ce9557 2:ffb8e2ddd8dc
       
     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