2022-01-14 22:06:07 +01:00
|
|
|
#ifndef BILLYSHEET_MENU_HPP
|
|
|
|
#define BILLYSHEET_MENU_HPP
|
|
|
|
|
|
|
|
#include <spdlog/spdlog.h>
|
|
|
|
|
|
|
|
namespace gui {
|
|
|
|
class GuiData;
|
|
|
|
|
|
|
|
namespace menu {
|
|
|
|
class MenuData;
|
|
|
|
|
|
|
|
class Menu final {
|
|
|
|
private:
|
|
|
|
MenuData &data;
|
|
|
|
public:
|
|
|
|
Menu() noexcept = delete;
|
|
|
|
|
2022-01-17 22:00:26 +01:00
|
|
|
explicit Menu(MenuData &data) noexcept;
|
2022-01-14 22:06:07 +01:00
|
|
|
|
|
|
|
~Menu() noexcept = default;
|
|
|
|
|
|
|
|
void gui() const noexcept;
|
|
|
|
|
|
|
|
[[nodiscard]] const MenuData &get_data() const { return data; }
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //BILLYSHEET_MENU_HPP
|