1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 /** |
|
18 @file |
|
19 @internalComponent |
|
20 */ |
|
21 #ifndef NCMNTBPARSER_INL |
|
22 #define NCMNTBPARSER_INL |
|
23 |
|
24 inline void TNcmNth16::Dump() |
|
25 { |
|
26 #ifdef DEBUG_DUMP_NTBINNER |
|
27 RDebug::Printf("NcmNth16:%08x\n" |
|
28 "\tdwSignature=%S,\n" |
|
29 "\twHeaderLength=%d,\n" |
|
30 "\twSequence=%d,\n" |
|
31 "\twBlockLength=%d,\n" |
|
32 "\twNdpIndex=%d.", |
|
33 this, &TPtrC8((TUint8*)&dwSignature, 4), wHeaderLength, wSequence, wBlockLength, |
|
34 wNdpIndex); |
|
35 #endif |
|
36 } |
|
37 |
|
38 inline void TNcmNdp16::Dump() |
|
39 { |
|
40 #ifdef DEBUG_DUMP_NTBINNER |
|
41 RDebug::Printf("NcmNdp16:%08x,\n" |
|
42 "\tdwSignature=%S,\n" |
|
43 "\twLength=%d,\n" |
|
44 "\twNextNdpIndex=%d,\n" |
|
45 "\twDatagram0Index=%d,\n" |
|
46 "\twDatagram0Length=%d,\n" |
|
47 "\twDatagram1Index=%d,\n" |
|
48 "\twDatagram1Length=%d,\n", |
|
49 this, &TPtrC8((TUint8*)&dwSignature, 4), |
|
50 wLength, wNextNdpIndex, wDatagram0Index, wDatagram0Length, |
|
51 wDatagram1Index, wDatagram1Length); |
|
52 #endif |
|
53 } |
|
54 |
|
55 inline CNcmNtb16Parser::CNcmNtb16Parser(MNcmNdpFrameObserver& aObserver) |
|
56 : CNcmNtbParser(aObserver), iMaxSize(0xFFFF) |
|
57 { |
|
58 } |
|
59 |
|
60 inline CNcmNtbParser::CNcmNtbParser(MNcmNdpFrameObserver& aObserver) |
|
61 : iObserver(aObserver) |
|
62 { |
|
63 } |
|
64 |
|
65 |
|
66 #endif //NCMNTBPARSER_INL |
|