Change build system to meson

This commit is contained in:
2022-11-08 19:15:16 +01:00
parent 2913a272d1
commit cc2316a497
17 changed files with 208 additions and 118 deletions

View File

@@ -5,43 +5,40 @@
namespace ptprnt::driver {
class IDriver
{
public:
virtual ~IDriver() {};
class IDriver {
public:
virtual ~IDriver(){};
/**
/**
* @brief Get Information struct about this driver
*
* @return driver::info
*/
virtual driver::info getInfo() = 0;
/**
virtual driver::info getInfo() = 0;
/**
* @brief opens up the device specified
*
* @return true successfully open up device
* @return false failed to open device
*/
virtual bool open() = 0;
virtual bool open() = 0;
/**
/**
* @brief close the device
*
* @return true successfully closed device
* @return false failed to close device
*/
virtual bool close() = 0;
virtual bool close() = 0;
/**
/**
* @brief Send a command to device
*
* @return true successfully sent command to device
* @return false error sending command
*/
virtual bool command() = 0;
virtual bool command() = 0;
};
}
} // namespace ptprnt::driver