1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/mw/lbterrors.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,63 @@
1.4 +/*
1.5 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Location Triggering panic category and panic code
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +#ifndef LBTERRORS_H
1.23 +#define LBTERRORS_H
1.24 +
1.25 +#include <e32def.h>
1.26 +#include <e32cmn.h>
1.27 +
1.28 +/**
1.29 + * Location Triggering Client API panic categories
1.30 + */
1.31 +_LIT( KLbtClientPanicCategory, "LocTriggering" );
1.32 +
1.33 +/**
1.34 + * Location Triggering Client API panic codes
1.35 + */
1.36 +enum TLbtClientPanic
1.37 + {
1.38 + /**
1.39 + * An attempt has been made to connect using an already opened handle.
1.40 + */
1.41 + ELbtServerHandleNotClosed = 1,
1.42 + /**
1.43 + * An attempt to communicate using an unconnected handle.
1.44 + */
1.45 + ELbtServerBadHandle = 2,
1.46 + /**
1.47 + * A subsession was closed with requests still outstanding.
1.48 + */
1.49 + ELbtRequestsNotCancelled = 3,
1.50 + /**
1.51 + * An attempt to get trigger objects incrementally when iterator was not
1.52 + * created.
1.53 + */
1.54 + ELbtIteratorNotCreated = 4,
1.55 + /**
1.56 + * A client has called an asynchronous request while it is still outstanding.
1.57 + */
1.58 + ELbtDuplicateRequest = 5,
1.59 + /**
1.60 + * Wrong value is given as parameter.
1.61 + */
1.62 + ELbtErrArgument = 6
1.63 + };
1.64 +
1.65 +
1.66 +#endif //LBTERRORS_H