BillySheet/include/gui_data.hpp

25 lines
359 B
C++
Raw Normal View History

#ifndef BILLYSHEET_GUI_DATA_HPP
#define BILLYSHEET_GUI_DATA_HPP
2022-01-08 23:40:31 +01:00
namespace gui {
2022-01-09 00:43:33 +01:00
class Window;
class GuiData final {
private:
2022-01-08 23:40:31 +01:00
Window &window;
public:
GuiData() = delete;
2022-01-08 23:40:31 +01:00
explicit GuiData(Window &wwindow) : window(wwindow) {}
2022-01-09 00:43:33 +01:00
[[nodiscard]] Window &get_window() const;
~GuiData() noexcept = default;
};
}
#endif //BILLYSHEET_GUI_DATA_HPP