ChatMenu::ChatMenu(ChatClient &client) : Utilities::CLIMenu("Chatting as "+client.username()), mClient(client) { addChoice("Send Message", Utilities::ObjectCallback0<ChatMenu>(this, &ChatMenu::sendChat)); setExitString("Disconnect"); }