diff options
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/kapi/devices.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kapi/kapi/devices.hpp b/kapi/kapi/devices.hpp index 59fcc568..124cd2bb 100644 --- a/kapi/kapi/devices.hpp +++ b/kapi/kapi/devices.hpp @@ -34,6 +34,12 @@ namespace kapi::devices //! @return a shared pointer to the root bus. auto get_root_bus() -> kstd::shared_ptr<bus>; + //! Remove a device from the device tree. + //! + //! @param device The device to remove. + //! @return true iff. the device had a parent an was remove, false otherwise. + auto remove_device(device & device) -> bool; + //! Publish the fact that a device supports a specific facet. //! //! @tparam Facet The facet type provided by the device. |
