You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
437 B
C++

#ifndef STMDSP_HPP_
#define STMDSP_HPP_
#include <fstream>
#include <list>
#include <string>
namespace stmdsp
{
class scanner
{
private:
constexpr static const char *STMDSP_USB_ID = "USB VID:PID=0483:5740";
public:
std::list<std::string>& scan();
auto& devices() {
return m_devices;
}
private:
std::list<std::string> m_devices;
};
}
#endif // STMDSP_HPP_