Change build system to meson
This commit is contained in:
14
src/main.cpp
14
src/main.cpp
@@ -4,16 +4,16 @@
|
||||
#include "IPrinter.hpp"
|
||||
#include "P700Printer.hpp"
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
using namespace ptprnt;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
std::cout << "Hello ptprnt!" << std::endl;
|
||||
std::cout << "Hello ptprnt!" << std::endl;
|
||||
libusb_init(NULL);
|
||||
auto driver = std::make_unique<driver::P700Driver>();
|
||||
auto printer = std::make_unique<printer::P700Printer>(std::move(driver));
|
||||
printer::info info = printer->getInfo();
|
||||
|
||||
auto driver = std::make_unique<driver::P700Driver>();
|
||||
auto printer = std::make_unique<printer::P700Printer>(std::move(driver));
|
||||
printer::info info = printer->getInfo();
|
||||
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user