|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <PeripheralUtils.h>
Public Member Functions | |
| Peripheral (PERIPHERAL_TYPE type=PERIPHERAL_TYPE_UNKNOWN, const std::string &strName="") | |
| Peripheral (const PERIPHERAL_INFO &info) | |
| virtual | ~Peripheral (void)=default |
| PERIPHERAL_TYPE | Type (void) const |
| const std::string & | Name (void) const |
| uint16_t | VendorID (void) const |
| uint16_t | ProductID (void) const |
| unsigned int | Index (void) const |
| bool | IsVidPidKnown (void) const |
| void | SetType (PERIPHERAL_TYPE type) |
| void | SetName (const std::string &strName) |
| void | SetVendorID (uint16_t vendorId) |
| void | SetProductID (uint16_t productId) |
| void | SetIndex (unsigned int index) |
| void | ToStruct (PERIPHERAL_INFO &info) const |
Static Public Member Functions | |
| static void | FreeStruct (PERIPHERAL_INFO &info) |
ADDON::Peripheral
Wrapper class providing peripheral information. Classes can extend Peripheral to inherit peripheral properties.
|
inline |
|
inlineexplicit |
|
virtualdefault |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |