diff options
| author | a1xd <[email protected]> | 2020-07-31 20:19:24 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-07-31 20:19:24 -0400 |
| commit | 66a4043a9ecb1990878bea230f213708c7fdd3da (patch) | |
| tree | e0bcad437a3170f391fc74fe723be6abaf41cd89 /console/console.cpp | |
| parent | add read (diff) | |
| download | rawaccel-66a4043a9ecb1990878bea230f213708c7fdd3da.tar.xz rawaccel-66a4043a9ecb1990878bea230f213708c7fdd3da.zip | |
move write function into common io header
Diffstat (limited to 'console/console.cpp')
| -rw-r--r-- | console/console.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/console/console.cpp b/console/console.cpp index 549cb68..00dc481 100644 --- a/console/console.cpp +++ b/console/console.cpp @@ -1,14 +1,13 @@ #include <iostream> -#define NOMINMAX -#include <Windows.h> - #include <rawaccel-userspace.hpp> -#include "console_write.hpp" +#include <rawaccel-io.hpp> + +namespace ra = rawaccel; int main(int argc, char** argv) { try { - write(ra::parse(argc, argv)); + ra::write(ra::parse(argc, argv)); } catch (std::domain_error e) { std::cerr << e.what() << '\n'; |