2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "peripherals/bus/PeripheralBus.h"
13 #include <setupapi.h> //needed for GUID
19 class CPeripheralBusUSB
: public CPeripheralBus
22 CPeripheralBusUSB(CPeripherals
&manager
);
25 * @see PeripheralBus::PerformDeviceScan()
27 bool PerformDeviceScan(PeripheralScanResults
&results
);
30 bool PerformDeviceScan(const GUID
*guid
, const PeripheralType defaultType
, PeripheralScanResults
&results
);
31 bool GetProductAndVendorId(const PeripheralType type
, const std::string
&strDeviceLocation
, int *iVendorId
, int *iProductId
);