1 /* 2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_UTIL_KERNEL_REFERENCEABLE_H 6 #define _KERNEL_UTIL_KERNEL_REFERENCEABLE_H 7 8 9 #include <Referenceable.h> 10 11 #include <heap.h> 12 13 14 namespace BKernel { 15 16 17 struct KernelReferenceable : BReferenceable, DeferredDeletable { 18 protected: 19 virtual void LastReferenceReleased(); 20 }; 21 22 23 } // namespace BKernel 24 25 26 using BKernel::KernelReferenceable; 27 28 29 #endif /* _KERNEL_UTIL_KERNEL_REFERENCEABLE_H */ 30