summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/menu.h
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-29 08:25:53 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-29 08:25:53 -0400
commit78576d09c66b7bfb6d3e6d41c38fc9c059e6cb6b (patch)
tree26985bbde95b6daf823e72a4741a472794629cc3 /src/frontend/mame/ui/menu.h
parent89a3bb1a763676f9942533e405372f320b380807 (diff)
C++-ified the strings inside of menu items
Diffstat (limited to 'src/frontend/mame/ui/menu.h')
-rw-r--r--src/frontend/mame/ui/menu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/menu.h b/src/frontend/mame/ui/menu.h
index 3d7a60219aa..cd95a3cae40 100644
--- a/src/frontend/mame/ui/menu.h
+++ b/src/frontend/mame/ui/menu.h
@@ -64,6 +64,7 @@ public:
// append a new item to the end of the menu
void item_append(const char *text, const char *subtext, UINT32 flags, void *ref, menu_item_type type = menu_item_type::UNKNOWN);
+ void item_append(const std::string &text, const std::string &subtext, UINT32 flags, void *ref, menu_item_type type = menu_item_type::UNKNOWN);
void item_append(menu_item item);
void item_append(menu_item_type type);