equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2007 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 the License "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 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include "TIptvIap.h" |
|
23 #include "CIptvUtil.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 EXPORT_C TIptvIap::TIptvIap() |
|
28 : iValueExists( EFalse ) |
|
29 , iId( 0 ) |
|
30 , iPriority( 0 ) |
|
31 { |
|
32 } |
|
33 |
|
34 EXPORT_C TIptvIap::~TIptvIap() |
|
35 { |
|
36 } |
|
37 |
|
38 EXPORT_C void TIptvIap::ExternalizeL(RDesWriteStream& aStream) const |
|
39 { |
|
40 aStream.WriteUint32L(iId); |
|
41 aStream.WriteUint16L(iPriority); |
|
42 } |
|
43 |
|
44 EXPORT_C void TIptvIap::InternalizeL(RDesReadStream& aStream) |
|
45 { |
|
46 iId = aStream.ReadUint32L(); |
|
47 iPriority = aStream.ReadUint16L(); |
|
48 } |
|
49 |
|
50 EXPORT_C TUint32 TIptvIap::CountExternalizeSize() |
|
51 { |
|
52 return 4+2; |
|
53 } |