EditCustomer::EditCustomer(Store & store) :
	editCustomerName(store)
{
	entries.push_back(MenuEntry("Back", exitHandler));
	entries.push_back(MenuEntry("Edit name", editCustomerName));
}
Example #2
0
void MenuState::AddEntry(int id, std::string text)
{
	entries_.push_back(MenuEntry(id, text));
}