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