xref: /haiku/src/apps/debugger/user_interface/gui/utility_windows/StartTeamWindow.h (revision ef240bfffa9bd342a276eb73691a6996aa254156)
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 enum {
20 	MSG_SET_TEAM_PATH	= 'setp'
21 };
22 
23 
24 class StartTeamWindow : public BWindow
25 {
26 public:
27 								StartTeamWindow(
28 									TargetHostInterface* hostInterface);
29 
30 								~StartTeamWindow();
31 
32 	static	StartTeamWindow*	Create(TargetHostInterface* hostInterface);
33 									// throws
34 
35 
36 	virtual	void				MessageReceived(BMessage* message);
37 	virtual bool				QuitRequested();
38 
39 	virtual	void				Show();
40 
41 private:
42 			void	 			_Init();
43 
44 
45 private:
46 			BStringView*		fGuideText;
47 			BTextControl*		fTeamTextControl;
48 			BTextControl*		fArgumentsTextControl;
49 			BButton*			fBrowseTeamButton;
50 			BFilePanel*			fBrowseTeamPanel;
51 			BButton*			fStartButton;
52 			BButton*			fCancelButton;
53 			TargetHostInterface* fTargetHostInterface;
54 };
55 
56 #endif // START_TEAM_WINDOW_H
57