|
1 // Copyright (c) 2006-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 // Implements QoS utilities for te_spudNetworkTest. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 |
|
24 #include "spudNetSideQos.h" |
|
25 |
|
26 |
|
27 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY |
|
28 //------------------------------------------------------ |
|
29 // QoSEventToText |
|
30 //------------------------------------------------------ |
|
31 TPtrC QoSEventToText(TQoSEvent aEvent) |
|
32 { |
|
33 switch(aEvent) |
|
34 { |
|
35 case EQoSEventFailure: |
|
36 return _L("EQoSEventFailure"); |
|
37 case EQoSEventConfirm: |
|
38 return _L("EQoSEventConfirm"); |
|
39 case EQoSEventAdapt: |
|
40 return _L("EQoSEventAdapt"); |
|
41 case EQoSEventChannel: |
|
42 return _L("EQoSEventChannel"); |
|
43 case EQoSEventJoin: |
|
44 return _L("EQoSEventJoin"); |
|
45 case EQoSEventLeave: |
|
46 return _L("EQoSEventLeave"); |
|
47 case EQoSEventAddPolicy: |
|
48 return _L("EQoSEventAddPolicy"); |
|
49 case EQoSEventGetPolicy: |
|
50 return _L("EQoSEventGetPolicy"); |
|
51 case EQoSEventDeletePolicy: |
|
52 return _L("EQoSEventDeletePolicy"); |
|
53 case EQoSEventLoadPolicyFile: |
|
54 return _L("EQoSEventLoadPolicyFile"); |
|
55 case EQoSEventUnloadPolicyFile: |
|
56 return _L("EQoSEventUnloadPolicyFile"); |
|
57 default: |
|
58 return _L("Unknown QoS event"); |
|
59 } |
|
60 } |
|
61 #endif |