#if defined(Hiro_Menu)

namespace hiro {

struct pMenu : public pAction {
  Declare(Menu, Action)

  auto append(sAction action) -> void;
  auto remove(sAction action) -> void;
  auto setIcon(const image& icon, bool force = false) -> void;
  auto setText(const string& text) -> void;

  auto _setState() -> void override;

  QMenu* qtMenu = nullptr;
};

}

#endif
