equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #if !defined(__IRLANUTL_H__) |
|
22 #define __IRLANUTL_H__ |
|
23 |
|
24 enum TIrlanPanic |
|
25 { |
|
26 EIrlanParameterNameTooBig, |
|
27 EIrlanParameterValueTooBig, |
|
28 EIrlanBadState, |
|
29 EIrlanErrorState, |
|
30 EIrlanDataWrite, |
|
31 EIrlanDataRead, |
|
32 EIrlanCannotAllocMBuf, |
|
33 }; |
|
34 |
|
35 enum TIrlanFault |
|
36 { |
|
37 EIrlanOK, //< Specifies ok |
|
38 EIrlanInvalidParameterCount, //< Specifies Invalid parameter count |
|
39 EIrlanInvalidParameter, //< Specifies Invalid parameter. |
|
40 EIrlanInvalidParameterValue, //< Specifies Invalid parameter value |
|
41 EIrlanInvalidIrlanMode, //< Specifies Invalid Irlan mode |
|
42 EIrlanNonEtherIIPacket, //< Specifies Non Ether packet. |
|
43 }; |
|
44 |
|
45 /** |
|
46 @internalComponent |
|
47 */ |
|
48 class IrlanUtil |
|
49 { |
|
50 public: |
|
51 static void Fault(TIrlanFault aFault); |
|
52 static void Panic(TIrlanPanic aPanic); |
|
53 }; |
|
54 |
|
55 #endif |
|
56 |