Revision 687e118e host/include/uhd/transport/usb_control.hpp

b/host/include/uhd/transport/usb_control.hpp
18 18
#ifndef INCLUDED_UHD_TRANSPORT_USB_CONTROL_HPP
19 19
#define INCLUDED_UHD_TRANSPORT_USB_CONTROL_HPP
20 20

  
21
#include <uhd/config.hpp>
22
#include <uhd/types/usb_descriptor.hpp>
23
#include <boost/utility.hpp>
24
#include <boost/shared_ptr.hpp>
25
#include <vector>
21
#include "usb_device_handle.hpp"
26 22

  
27 23
namespace uhd { namespace transport {
28 24

  
......
35 31
     * This transport is for sending and receiving control information from
36 32
     * the host to device using the Default Control Pipe.
37 33
     *
38
     * \param descriptor a descriptor that identifies a USB device
34
     * \param handle a device handle that uniquely identifies a USB device
39 35
     */
40
    static sptr make(usb_descriptor_t descriptor);
36
    static sptr make(usb_device_handle::sptr handle);
41 37

  
42 38
    /*!
43 39
     * Submit a USB device request:
......
62 58
                          boost::uint16_t index, 
63 59
                          unsigned char *buff,
64 60
                          boost::uint16_t length) = 0; 
65

  
66
    /*!
67
     * Get a vector of USB device descriptors 
68
     *
69
     * \return a vector of usb_descriptors
70
     */
71
    static usb_descriptors_t get_device_list();
72 61
};
73 62

  
74 63
}} //namespace

Also available in: Unified diff