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