diff options
| author | a1xd <[email protected]> | 2021-04-01 01:51:31 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-04-01 01:51:31 -0400 |
| commit | 14bde56daf188bfc027dc8ead5b45ec0aa1109d6 (patch) | |
| tree | 6c674efea62c4e945e4d8ed3e947189742486015 /wrapper/wrapper_io.hpp | |
| parent | refactor lut/motivity (diff) | |
| download | rawaccel-14bde56daf188bfc027dc8ead5b45ec0aa1109d6.tar.xz rawaccel-14bde56daf188bfc027dc8ead5b45ec0aa1109d6.zip | |
update rest
grapher is still broken
refactored io / error handling a bit
Diffstat (limited to 'wrapper/wrapper_io.hpp')
| -rw-r--r-- | wrapper/wrapper_io.hpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/wrapper/wrapper_io.hpp b/wrapper/wrapper_io.hpp deleted file mode 100644 index 6b94e46..0000000 --- a/wrapper/wrapper_io.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include <rawaccel-error.hpp> -#include <rawaccel-settings.h> -#include <rawaccel-version.h> - -using namespace rawaccel; -using namespace System; - -struct wrapper_io { - static void writeToDriver(const settings&); - static void readFromDriver(settings&); - static void getDriverVersion(version_t&); -}; - -public ref struct DriverIOException : public IO::IOException { -public: - DriverIOException() {} - DriverIOException(String^ what) : IO::IOException(what) {} -}; - -public ref struct DriverNotInstalledException : public DriverIOException { - DriverNotInstalledException() : - DriverIOException(gcnew String(install_error().what())) {} -}; |