diff options
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 5f1704b88..8b9d72376 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -214,3 +214,8 @@ std::string BeingInfo::getColor(const int idx) const return std::string(); return it->second.color; } + +void BeingInfo::addMenu(const std::string &name, const std::string &command) +{ + mMenu.push_back(BeingMenuItem(name, command)); +} |