BillySheet/include/gui/menu/menu.hpp

31 lines
554 B
C++
Raw Normal View History

#ifndef BILLYSHEET_MENU_HPP
#define BILLYSHEET_MENU_HPP
#include <spdlog/spdlog.h>
namespace gui {
2024-01-28 20:31:50 +01:00
class GuiData;
2024-01-28 20:31:50 +01:00
namespace menu {
class MenuData;
2024-01-28 20:31:50 +01:00
class Menu final {
private:
MenuData &data;
public:
Menu() noexcept = delete;
2024-01-28 20:31:50 +01:00
explicit Menu(MenuData &data) noexcept;
2024-01-28 20:31:50 +01:00
~Menu() noexcept = default;
2024-01-28 20:31:50 +01:00
void gui() const noexcept;
2024-01-28 20:31:50 +01:00
[[nodiscard]] const MenuData &get_data() const { return data; }
};
}
}
#endif //BILLYSHEET_MENU_HPP