/* * Copyright 2020, Haiku, Inc. * Distributed under the terms of the MIT License. */ #ifndef _AUTO_DELETER_DRIVERS_H #define _AUTO_DELETER_DRIVERS_H #include #include #if defined(_KERNEL_MODE) && !defined(_BOOT_MODE) #include #include #endif namespace BPrivate { typedef CObjectDeleter DriverSettingsUnloader; #if defined(_KERNEL_MODE) && !defined(_BOOT_MODE) typedef CObjectDeleter VnodePutter; typedef CObjectDeleter DescriptorPutter; #endif } using ::BPrivate::DriverSettingsUnloader; #if defined(_KERNEL_MODE) && !defined(_BOOT_MODE) using ::BPrivate::VnodePutter; using ::BPrivate::DescriptorPutter; #endif #endif // _AUTO_DELETER_DRIVERS_H