1 /* 2 * Copyright 2013-2016, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef START_TEAM_WINDOW_H 6 #define START_TEAM_WINDOW_H 7 8 9 #include <Window.h> 10 11 12 class BButton; 13 class BFilePanel; 14 class BStringView; 15 class BTextControl; 16 class TargetHostInterface; 17 18 19 class StartTeamWindow : public BWindow 20 { 21 public: 22 StartTeamWindow( 23 TargetHostInterface* hostInterface); 24 25 ~StartTeamWindow(); 26 27 static StartTeamWindow* Create(TargetHostInterface* hostInterface); 28 // throws 29 30 31 virtual void MessageReceived(BMessage* message); 32 33 virtual void Show(); 34 35 private: 36 void _Init(); 37 38 39 private: 40 BStringView* fGuideText; 41 BTextControl* fTeamTextControl; 42 BTextControl* fArgumentsTextControl; 43 BButton* fBrowseTeamButton; 44 BFilePanel* fBrowseTeamPanel; 45 BButton* fStartButton; 46 BButton* fCancelButton; 47 TargetHostInterface* fTargetHostInterface; 48 }; 49 50 #endif // START_TEAM_WINDOW_H 51