ladybird/Kernel/Bus/USB/USBManagement.h
2023-03-06 23:46:36 +01:00

28 lines
473 B
C++

/*
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/Bus/USB/USBController.h>
#include <Kernel/Library/NonnullLockRefPtr.h>
namespace Kernel::USB {
class USBManagement {
public:
USBManagement();
static bool initialized();
static void initialize();
static USBManagement& the();
private:
void enumerate_controllers();
USBController::List m_controllers;
};
}