1/* 2 * Copyright 2000, Georges-Edouard Berenger. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _QUIT_MENU_H_ 6#define _QUIT_MENU_H_ 7 8 9#include "Utilities.h" 10 11#include <Menu.h> 12#include <Messenger.h> 13 14 15class QuitMenu : public BMenu { 16 public: 17 QuitMenu(const char* title, info_pack* infos, int infosCount); 18 virtual void AttachedToWindow(); 19 virtual void DetachedFromWindow(); 20 virtual void MessageReceived(BMessage *msg); 21 void AddTeam(team_id tmid); 22 23 private: 24 const info_pack* fInfos; 25 int fInfosCount; 26 BMessenger* fMe; 27}; 28 29#endif // _QUIT_MENU_H_ 30