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