equal
deleted
inserted
replaced
226 private: // Internal class |
226 private: // Internal class |
227 |
227 |
228 /** |
228 /** |
229 * Used when opening the kernel heap |
229 * Used when opening the kernel heap |
230 */ |
230 */ |
|
231 #ifndef __SYMBIAN_KERNEL_HYBRID_HEAP__ |
231 class RHeapKExtended : public RHeapK |
232 class RHeapKExtended : public RHeapK |
232 { |
233 { |
233 public: |
234 public: |
234 inline void FailNext() |
235 inline void FailNext() |
235 { |
236 { |
241 inline void SetFailType( TAllocFail aType ) { iFailType = aType; } |
242 inline void SetFailType( TAllocFail aType ) { iFailType = aType; } |
242 inline void SetFailRate( TInt aRate ) { iFailRate = aRate; } |
243 inline void SetFailRate( TInt aRate ) { iFailRate = aRate; } |
243 inline void ResetFailed() { iFailed = EFalse; } |
244 inline void ResetFailed() { iFailed = EFalse; } |
244 inline void ResetFailAllocCount() { iFailAllocCount = 0; } |
245 inline void ResetFailAllocCount() { iFailAllocCount = 0; } |
245 }; |
246 }; |
246 |
247 #endif |
247 private: |
248 private: |
248 RHeapK* iKernelHeap; |
249 RHeapK* iKernelHeap; |
249 DChunk* iChunk; |
250 DChunk* iChunk; |
250 }; |
251 }; |
251 |
252 |