equal
deleted
inserted
replaced
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 // |
8 // |
9 // Initial Contributors: |
9 // Initial Contributors: |
10 // Accenture - Initial contribution |
10 // Accenture - Initial contribution |
11 // |
11 // |
|
12 #include <fshell/common.mmh> |
12 #include <fshell/qr3dll.h> |
13 #include <fshell/qr3dll.h> |
|
14 |
|
15 #ifdef FSHELL_MEMORY_ACCESS_SUPPORT |
|
16 |
13 #include <fshell/memoryaccess.h> |
17 #include <fshell/memoryaccess.h> |
14 #include <f32file.h> |
18 #include <f32file.h> |
15 |
19 |
16 EXPORT_C RProxyHeap::RProxyHeap(RMemoryAccess& aMem, TUint aThreadId) |
20 EXPORT_C RProxyHeap::RProxyHeap(RMemoryAccess& aMem, TUint aThreadId) |
17 : RHeap(), iMem(aMem), iThreadId(aThreadId) |
21 : RHeap(), iMem(aMem), iThreadId(aThreadId) |
243 User::LeaveIfError(aDumpFile.Write(info.iFileName)); |
247 User::LeaveIfError(aDumpFile.Write(info.iFileName)); |
244 } |
248 } |
245 } |
249 } |
246 |
250 |
247 //END nicked |
251 //END nicked |
|
252 |
|
253 #else // FSHELL_MEMORY_ACCESS_SUPPORT |
|
254 |
|
255 EXPORT_C RProxyHeap::RProxyHeap(RMemoryAccess& aMem, TUint aThreadId) |
|
256 : RHeap(), iMem(aMem), iThreadId(aThreadId) |
|
257 { |
|
258 } |
|
259 |
|
260 EXPORT_C void /*CHeapAnalyser::*/ GetHeapDetailsL(THeapDetails& aDetails, RProxyHeap& heap) |
|
261 { |
|
262 // This function retained for BC reasons |
|
263 heap.GetHeapDetailsL(aDetails); |
|
264 } |
|
265 |
|
266 EXPORT_C void RProxyHeap::GetHeapDetailsL(THeapDetails&) |
|
267 { |
|
268 User::Leave(KErrNotSupported); |
|
269 } |
|
270 |
|
271 EXPORT_C void RProxyHeap::DumpHeapToSuitableFileInDirectoryL(TFileName&) |
|
272 { |
|
273 User::Leave(KErrNotSupported); |
|
274 } |
|
275 |
|
276 EXPORT_C void RProxyHeap::DumpHeapToFileL(const TDesC&) |
|
277 { |
|
278 User::Leave(KErrNotSupported); |
|
279 } |
|
280 |
|
281 EXPORT_C void RProxyHeap::DumpHeapL(RFile&) |
|
282 { |
|
283 User::Leave(KErrNotSupported); |
|
284 } |
|
285 |
|
286 #endif // FSHELL_MEMORY_ACCESS_SUPPORT |