BillySheet/include/gui/menu/menu.hpp
Pcornat 9142896237
Submodule for JSON added.
Menu data and menu in their own folder.
2022-01-14 22:06:07 +01:00

31 lines
507 B
C++

#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;
explicit Menu(MenuData &data) noexcept: data(data) { SPDLOG_DEBUG("Creating Menu"); }
~Menu() noexcept = default;
void gui() const noexcept;
[[nodiscard]] const MenuData &get_data() const { return data; }
};
}
}
#endif //BILLYSHEET_MENU_HPP