1 /* 2 * Copyright 2008-2009 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Pieter Panman 7 */ 8 #ifndef DEVICEUSB_H 9 #define DEVICEUSB_H 10 11 12 #include "Device.h" 13 14 15 class DeviceUSB : public Device { 16 public: 17 DeviceUSB(Device* parent); 18 virtual ~DeviceUSB(); 19 virtual Attributes GetBusAttributes(); 20 virtual BString GetBusStrings(); 21 virtual void InitFromAttributes(); 22 virtual BString GetBusTabName(); 23 24 private: 25 uint8 fClassBaseId; 26 uint8 fClassSubId; 27 uint8 fClassProtoId; 28 uint16 fVendorId; 29 uint16 fDeviceId; 30 }; 31 32 #endif /* DEVICEUSB_H */ 33