diff -r 6a26ca985d90 -r 849a0b46c767 libraries/qr3/src/heap.cpp --- a/libraries/qr3/src/heap.cpp Wed Oct 13 15:07:15 2010 +0100 +++ b/libraries/qr3/src/heap.cpp Sun Oct 17 18:43:12 2010 +0100 @@ -9,7 +9,11 @@ // Initial Contributors: // Accenture - Initial contribution // +#include #include + +#ifdef FSHELL_MEMORY_ACCESS_SUPPORT + #include #include @@ -245,3 +249,38 @@ } //END nicked + +#else // FSHELL_MEMORY_ACCESS_SUPPORT + +EXPORT_C RProxyHeap::RProxyHeap(RMemoryAccess& aMem, TUint aThreadId) + : RHeap(), iMem(aMem), iThreadId(aThreadId) + { + } + +EXPORT_C void /*CHeapAnalyser::*/ GetHeapDetailsL(THeapDetails& aDetails, RProxyHeap& heap) + { + // This function retained for BC reasons + heap.GetHeapDetailsL(aDetails); + } + +EXPORT_C void RProxyHeap::GetHeapDetailsL(THeapDetails&) + { + User::Leave(KErrNotSupported); + } + +EXPORT_C void RProxyHeap::DumpHeapToSuitableFileInDirectoryL(TFileName&) + { + User::Leave(KErrNotSupported); + } + +EXPORT_C void RProxyHeap::DumpHeapToFileL(const TDesC&) + { + User::Leave(KErrNotSupported); + } + +EXPORT_C void RProxyHeap::DumpHeapL(RFile&) + { + User::Leave(KErrNotSupported); + } + +#endif // FSHELL_MEMORY_ACCESS_SUPPORT