xref: /haiku/src/add-ons/kernel/drivers/ports/usb_serial/ACM.h (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1 /*
2  * Copyright (c) 2007-2008 by Michael Lotz
3  * Heavily based on the original usb_serial driver which is:
4  *
5  * Copyright (c) 2003 by Siarzhuk Zharski <imker@gmx.li>
6  * Distributed under the terms of the MIT License.
7  */
8 #ifndef _USB_ACM_H_
9 #define _USB_ACM_H_
10 
11 #include "SerialDevice.h"
12 
13 class ACMDevice : public SerialDevice {
14 public:
15 								ACMDevice(usb_device device, uint16 vendorID,
16 									uint16 productID, const char *description);
17 
18 virtual	status_t				AddDevice(const usb_configuration_info *config);
19 
20 virtual	status_t				SetLineCoding(usb_cdc_line_coding *coding);
21 virtual	status_t				SetControlLineState(uint16 state);
22 };
23 
24 #endif //_USB_ACM_H_
25