1c3c2ab31SRene Gollent /* 2c3c2ab31SRene Gollent * Copyright 2013-2015, Rene Gollent, rene@gollent.com. 3c3c2ab31SRene Gollent * Distributed under the terms of the MIT License. 4c3c2ab31SRene Gollent */ 5c3c2ab31SRene Gollent #ifndef TEAM_SETTINGS_WINDOW_H 6c3c2ab31SRene Gollent #define TEAM_SETTINGS_WINDOW_H 7c3c2ab31SRene Gollent 8c3c2ab31SRene Gollent 9c3c2ab31SRene Gollent #include <Window.h> 10c3c2ab31SRene Gollent 11c3c2ab31SRene Gollent 12c3c2ab31SRene Gollent class BButton; 13*10b96226SRene Gollent class ExceptionStopConfigView; 14*10b96226SRene Gollent class ImageStopConfigView; 15*10b96226SRene Gollent class Team; 16c3c2ab31SRene Gollent class UserInterfaceListener; 17c3c2ab31SRene Gollent 18c3c2ab31SRene Gollent 19*10b96226SRene Gollent class TeamSettingsWindow : public BWindow { 20c3c2ab31SRene Gollent public: 21c3c2ab31SRene Gollent TeamSettingsWindow(::Team* team, 22c3c2ab31SRene Gollent UserInterfaceListener* listener, 23c3c2ab31SRene Gollent BHandler* target); 24c3c2ab31SRene Gollent 25c3c2ab31SRene Gollent ~TeamSettingsWindow(); 26c3c2ab31SRene Gollent 27c3c2ab31SRene Gollent static TeamSettingsWindow* Create(::Team* team, 28c3c2ab31SRene Gollent UserInterfaceListener* listener, 29c3c2ab31SRene Gollent BHandler* target); 30c3c2ab31SRene Gollent // throws 31c3c2ab31SRene Gollent 32c3c2ab31SRene Gollent virtual void Show(); 33c3c2ab31SRene Gollent 34c3c2ab31SRene Gollent private: 35c3c2ab31SRene Gollent void _Init(); 36c3c2ab31SRene Gollent 37c3c2ab31SRene Gollent private: 38c3c2ab31SRene Gollent ::Team* fTeam; 39c3c2ab31SRene Gollent UserInterfaceListener* fListener; 40c3c2ab31SRene Gollent BButton* fCloseButton; 41c3c2ab31SRene Gollent BHandler* fTarget; 42c3c2ab31SRene Gollent }; 43c3c2ab31SRene Gollent 44c3c2ab31SRene Gollent 45c3c2ab31SRene Gollent #endif // TEAM_SETTINGS_WINDOW_H 46