blob: dacd134c8b2633715fbae9e863b5c2983f98109d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef MGLPP_MGLPP_HPP
#define MGLPP_MGLPP_HPP
#include <stdexcept>
namespace mgl {
class InitException : public std::exception {
public:
const char* what() const noexcept override {
return "Failed to initialize mgl";
}
};
class Init {
public:
// Throws InitException on failure
Init();
~Init();
};
}
#endif /* MGLPP_MGLPP_HPP */
|