Working, minimal example.

This commit is contained in:
Pcornat 2022-01-09 00:43:33 +01:00
commit bfc12b4a72
Signed by: Pcornat
GPG key ID: 2F3932FF46D9ECA0
7 changed files with 123 additions and 7 deletions

View file

@ -1,9 +1,10 @@
#ifndef BILLYSHEET_GUI_DATA_HPP
#define BILLYSHEET_GUI_DATA_HPP
#include "window.hpp"
namespace gui {
class Window;
class GuiData final {
private:
Window &window;
@ -13,6 +14,8 @@ namespace gui {
explicit GuiData(Window &wwindow) : window(wwindow) {}
[[nodiscard]] Window &get_window() const;
~GuiData() noexcept = default;
};
}