lbserrors.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : LbsErrors.h
00004 *  Part of     : Location Framework/Location FW
00005 *  Interface   : Location Acquisition API
00006 *  Description : Error and panic codes
00007 *  Version     : %version: 5 %
00008 *
00009 *  Copyright (c) 2002-2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation. All rights are reserved. Copying,
00013 *  including reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia Corporation. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia Corporation.
00018 *
00019 * ==============================================================================
00020 */
00021 
00022 #ifndef __LBSERRORS_H__
00023 #define __LBSERRORS_H__
00024 
00025 #include <e32def.h>
00026 
00027 _LIT(KPosClientFault,"Lbs Client Fault");
00028 
00032 enum TPositionClientPanic
00033         {
00035         EPositionGenericInfoMismatchDataType            = 0,
00037         EPositionRequestorConstructorGivenNullData      = 1,
00039         EPositionGenericInfoZeroBufferSize                      = 2,
00041         EPositionBadRequest                                                     = 3,
00043         EPositionBadDescriptor                                          = 4,
00045         EPositionServerHandleNotClosed                          = 5,
00047         EPositionServerBadHandle                                        = 6,
00050         EPositionNullPointerHolder                                      = 7,
00053         EPositionInvalidClassType                                       = 8,
00055         EPositionSelectionOrderOverflow                         = 9,
00057         EPositionClassSizeMismatch                                      = 10,
00060         EPositionQualityBadDataType                                     = 11,
00062         EPositionBadTime                            = 12,
00064         EPositionBadAccuracy                        = 13,
00066         EPositionGenericInfoZeroMaxFields                       = 14,
00069         EPositionDuplicateRequest                   = 15,
00071         EPositionRequestsNotCancelled               = 16,
00073         EPositionNullRequestor                      = 17
00074         };
00075 
00076 
00077 /*
00078  * Completion codes to give extended information about location fix.
00079  */
00080 const TInt KPositionQualityLoss = 1;
00081 const TInt KPositionPartialUpdate = 2;
00082 
00083 
00087 const TInt KPositionErrBase = -30371;
00088 
00089 const TInt KErrPositionBufferOverflow = KPositionErrBase;               //-30371
00090 const TInt KErrPositionIncalculable = KPositionErrBase - 1;             //-30372
00091 
00092 
00093 //__LBSERRORS_H__
00094 #endif

Copyright © Nokia Corporation 2001-2008
Back to top