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
12class BButton;
13class BFilePanel;
14class BStringView;
15class BTextControl;
16class TargetHostInterface;
17
18
19enum {
20	MSG_SET_TEAM_PATH	= 'setp'
21};
22
23
24class StartTeamWindow : public BWindow
25{
26public:
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
41private:
42			void	 			_Init();
43
44
45private:
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