mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 18:20:58 +02:00
Core: Move HCICommandPayload struct template from BTReal to LibUSBBluetoothAdapter header.
This commit is contained in:
@@ -28,16 +28,6 @@
|
||||
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
template <u16 Opcode, typename CommandType>
|
||||
struct HCICommandPayload
|
||||
{
|
||||
hci_cmd_hdr_t header{Opcode, sizeof(CommandType)};
|
||||
CommandType command{};
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace IOS::HLE
|
||||
{
|
||||
|
||||
|
@@ -12,12 +12,20 @@
|
||||
#include "Common/Timer.h"
|
||||
#include "Common/WorkQueueThread.h"
|
||||
|
||||
#include "Core/IOS/USB/Bluetooth/hci.h"
|
||||
#include "Core/LibusbUtils.h"
|
||||
|
||||
struct libusb_device_handle;
|
||||
struct libusb_device_descriptor;
|
||||
struct libusb_transfer;
|
||||
|
||||
template <u16 Opcode, typename CommandType>
|
||||
struct HCICommandPayload
|
||||
{
|
||||
hci_cmd_hdr_t header{Opcode, sizeof(CommandType)};
|
||||
CommandType command{};
|
||||
};
|
||||
|
||||
class LibUSBBluetoothAdapter
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user