MenuManager.hpp
1 #pragma once
2 #include <score/actions/Menu.hpp>
3 #include <score/tools/std/HashMap.hpp>
4 
5 namespace score
6 {
14 class SCORE_LIB_BASE_EXPORT MenuManager
15 {
16 public:
17  ~MenuManager();
18  void insert(Menu val);
19 
20  void insert(std::vector<Menu> vals);
21 
22  auto& get() { return m_container; }
23  auto& get() const { return m_container; }
24 
25 private:
26  score::hash_map<StringKey<Menu>, Menu> m_container;
27 };
28 }
Represents a menu in the software.
Definition: Menu.hpp:15
The MenuManager class.
Definition: MenuManager.hpp:15
Base toolkit upon which the software is built.
Definition: Application.cpp:90