diff options
Diffstat (limited to 'wrapper/wrapper_io.hpp')
| -rw-r--r-- | wrapper/wrapper_io.hpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/wrapper/wrapper_io.hpp b/wrapper/wrapper_io.hpp index 1873f75..aff572b 100644 --- a/wrapper/wrapper_io.hpp +++ b/wrapper/wrapper_io.hpp @@ -1,10 +1,21 @@ #pragma once -#include <rawaccel.hpp> +#include <rawaccel-settings.h> using namespace rawaccel; +using namespace System; struct wrapper_io { - static void writeToDriver(const mouse_modifier& modifier); - static void readFromDriver(mouse_modifier& modifier); + static void writeToDriver(const settings&); + static void readFromDriver(settings&); }; + +public ref struct DriverIOException : public IO::IOException { +public: + DriverIOException() {} + DriverIOException(String^ what) : IO::IOException(what) {} +}; + +public ref struct DriverNotInstalledException : public DriverIOException {}; + +public ref struct DriverWriteCDException : public DriverIOException {}; |