24
|
1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Contains panic codes for WAPPROT
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalAll
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef __WAPMAIN_H__
|
|
24 |
#define __WAPMAIN_H__
|
|
25 |
|
|
26 |
#include <e32base.h>
|
|
27 |
|
|
28 |
/**
|
|
29 |
* WAP prot panic codes
|
|
30 |
* @internalComponent
|
|
31 |
*/
|
|
32 |
enum TWAPSMSPanic
|
|
33 |
{
|
|
34 |
// wapthdr.inl & wapthdr.cpp
|
|
35 |
KPanicTextHeaderMessageNotSet=0x00,
|
|
36 |
KPanicTextHeaderNotTextHeader,
|
|
37 |
KPanicTextHeaderTooLong,
|
|
38 |
// *Invalid*: does not exist or not a number
|
|
39 |
KPanicInvalidParseNumber,
|
|
40 |
|
|
41 |
// wappstor.cpp
|
|
42 |
KPanicTooLongSmsFragment=0x10,
|
|
43 |
|
|
44 |
// wapdgrm.h
|
|
45 |
KPanicSmsMessageNotComplete=0x20,
|
|
46 |
KPanicUsageError,
|
|
47 |
KPanicConversionNotAvailable,
|
|
48 |
KPanicConversionIncomplete,
|
|
49 |
KPanicNServerSession,
|
|
50 |
KPanicTooLongData,
|
|
51 |
// from WapSmsPanc()
|
|
52 |
EWapSmsCantBind,
|
|
53 |
EWapSmsCantBindTo,
|
|
54 |
EWapSmsSendCallCantBind,
|
|
55 |
EWapSmsProcessCallCantBind,
|
|
56 |
EWapSmsSetOptionCallCantBind,
|
|
57 |
EWapSmsGetOptionCallCantBind,
|
|
58 |
EWapSmsCantCreateNetDatabase,
|
|
59 |
EWapSmsCantCreateServiceResolver,
|
|
60 |
EWapSmsCantCreateHostResolver,
|
|
61 |
EWapSmsBadWriteCall,
|
|
62 |
EWapSmsBadGetDataCall,
|
|
63 |
EWapSmsReadGetTooMuch,
|
|
64 |
EWapSmsCloseWithoutDeleteingAllSockets,
|
|
65 |
EWapSmsBMABroken,
|
|
66 |
EWapSmsReallyReallyBad,
|
|
67 |
|
|
68 |
EWapSmsBadBind,
|
|
69 |
EWapSmsAddressTooLong,
|
|
70 |
EWapSmsIncompleteSms,
|
|
71 |
EWapSmsReceiveOnMessageSender,
|
|
72 |
EWapSmsSapMessageSenderBusy,
|
|
73 |
EWapSmsSapMessageSenderNothingToSend,
|
|
74 |
EWapSmsCannotBindObserver0,
|
|
75 |
EWapSmsCannotBindObserver1,
|
|
76 |
EWapSmsCannotBindObserver2,
|
|
77 |
EWapSmsFailedToSetServiceCenterAddress,
|
|
78 |
EWapSmsCurrentBearerNotSms,
|
|
79 |
|
|
80 |
EWapSmsNotFoundInStore,
|
|
81 |
EWapSmsOOM,
|
|
82 |
|
|
83 |
KPanicSmsMsgTimeZoneOutOfRange,
|
|
84 |
KPanicWapDgrmTimeZoneOutOfRange,
|
|
85 |
KPanicUserSuppliedTimeZoneOutOfRange,
|
|
86 |
KPanicEncodingError
|
|
87 |
};
|
|
88 |
|
|
89 |
/**
|
|
90 |
* @internalComponent
|
|
91 |
*/
|
|
92 |
void Panic(TWAPSMSPanic aPanic);
|
|
93 |
|
|
94 |
#endif // WAPMAIN_H__
|