aboutsummaryrefslogtreecommitdiff
path: root/src/glfw/guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glfw/guard.h')
-rw-r--r--src/glfw/guard.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/glfw/guard.h b/src/glfw/guard.h
new file mode 100644
index 0000000..f68954d
--- /dev/null
+++ b/src/glfw/guard.h
@@ -0,0 +1,11 @@
+#pragma once
+
+class GlfwGuard {
+private:
+ bool _good = false;
+public:
+ GlfwGuard();
+ ~GlfwGuard();
+
+ bool isGood() const;
+};