]> git.localhorst.tv Git - tacos.git/blobdiff - src/app/window.hpp
the usual suspects
[tacos.git] / src / app / window.hpp
diff --git a/src/app/window.hpp b/src/app/window.hpp
new file mode 100644 (file)
index 0000000..cc8fc8a
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef TACOS_APP_WINDOW_HPP_
+#define TACOS_APP_WINDOW_HPP_
+
+#include <SDL.h>
+
+
+namespace tacos {
+
+class Window {
+
+public:
+       Window();
+       ~Window() noexcept;
+
+       Window(const Window &) = delete;
+       Window &operator =(const Window &) = delete;
+
+       void Flip() noexcept;
+
+private:
+       SDL_Window *window;
+       SDL_GLContext context;
+
+};
+
+}
+
+#endif