equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 #include <memspy/driver/memspydriverstreamreader.h> |
|
19 |
|
20 // User includes |
|
21 #include "MemSpyDriverStreamReaderImp.h" |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 RMemSpyMemStreamReader::RMemSpyMemStreamReader( CMemSpyMemStreamReader* aImp ) |
|
27 : iImp( aImp ) |
|
28 { |
|
29 ASSERT( iImp ); |
|
30 } |
|
31 |
|
32 |
|
33 EXPORT_C void RMemSpyMemStreamReader::Close() |
|
34 { |
|
35 delete iImp; |
|
36 iImp = NULL; // To pacify code scanner |
|
37 } |
|
38 |
|
39 |
|
40 EXPORT_C TInt32 RMemSpyMemStreamReader::ReadInt32L() |
|
41 { |
|
42 return iImp->ReadInt32L(); |
|
43 } |
|
44 |
|
45 |
|
46 EXPORT_C TUint32 RMemSpyMemStreamReader::ReadUint32L() |
|
47 { |
|
48 return iImp->ReadUint32L(); |
|
49 } |
|
50 |
|
51 |
|
52 EXPORT_C void RMemSpyMemStreamReader::ReadL( TDes8& aDes ) |
|
53 { |
|
54 iImp->ReadL( aDes ); |
|
55 } |
|
56 |
|
57 |
|
58 EXPORT_C void RMemSpyMemStreamReader::ReadL( TDes16& aDes ) |
|
59 { |
|
60 iImp->ReadL( aDes ); |
|
61 } |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |