#ifndef WINDOW_H #define WINDOW_H #include #include #include "gaming-core/utils/Size.h" class Window final { public: Window(const Size& size, const char* windowName); ~Window(); Window(const Window&) = delete; Window& operator=(const Window&) = delete; Window(Window&&) = delete; Window& operator=(Window&&) = delete; bool hasError() const; void show(); bool shouldClose() const; void swapBuffers(); void setFramebufferSizeCallback(GLFWframebuffersizefun f); void setKeyCallback(GLFWkeyfun f); void setMouseButtonCallback(GLFWmousebuttonfun f); void setCursorPosCallback(GLFWcursorposfun f); private: GLFWwindow* window; }; #endif