summaryrefslogtreecommitdiff
path: root/wrapper/wrapper_io.hpp
blob: 19f096f73084b15ea0dafd5eef82e59409ac76c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <rawaccel-settings.h>

using namespace rawaccel;
using namespace System;

struct wrapper_io {
	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 {};