loc_plat/location_centre_api/inc/lcerrors.h
changeset 0 522cd55cc3d7
equal deleted inserted replaced
-1:000000000000 0:522cd55cc3d7
       
     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:  Error and Panic defintions for Location Centre API
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LCERRORS_H
       
    19 #define LCERRORS_H
       
    20 
       
    21 /**
       
    22  *  @file lcerrors.h
       
    23  *
       
    24  *  This file provides the defintions for Error and Panics which are
       
    25  *  used in Location Centre.
       
    26  *
       
    27  *  @lib lcservice.lib
       
    28  *  @since S60 v5.0
       
    29  */
       
    30  
       
    31 // CONSTANT DEFINTIONS
       
    32 #include <e32base.h>
       
    33 
       
    34 /**
       
    35  * Location Centre Panic Category
       
    36  */
       
    37 _LIT( KLcPanicCategory, "LocationCentre");
       
    38 
       
    39 /**
       
    40  * @enum TLCPanicCodes
       
    41  * Panic Codes for Location Centre
       
    42  *
       
    43  *  @lib lcservice.lib
       
    44  *  @since S60 v5.0 
       
    45  */
       
    46 enum TLcPanicCodes
       
    47     {
       
    48     /**
       
    49      * Code with which Location Centre panics when an attempt is made
       
    50      * to access an element of @ref CLcLocationAppInfoArray from an index
       
    51      * which does not exist.
       
    52      */
       
    53     ELcInvalidIndex                 = 0
       
    54     };
       
    55     
       
    56 #endif // LCERRORS_H