root/src/apps/debugger/user_interface/gui/utility_windows/StartTeamWindow.h
/*
 * Copyright 2013-2016, Rene Gollent, rene@gollent.com.
 * Distributed under the terms of the MIT License.
 */
#ifndef START_TEAM_WINDOW_H
#define START_TEAM_WINDOW_H


#include <Window.h>


class BButton;
class BFilePanel;
class BStringView;
class BTextControl;
class TargetHostInterface;


enum {
        MSG_SET_TEAM_PATH       = 'setp'
};


class StartTeamWindow : public BWindow
{
public:
                                                                StartTeamWindow(
                                                                        TargetHostInterface* hostInterface);

                                                                ~StartTeamWindow();

        static  StartTeamWindow*        Create(TargetHostInterface* hostInterface);
                                                                        // throws


        virtual void                            MessageReceived(BMessage* message);
        virtual bool                            QuitRequested();

        virtual void                            Show();

private:
                        void                            _Init();


private:
                        BStringView*            fGuideText;
                        BTextControl*           fTeamTextControl;
                        BTextControl*           fArgumentsTextControl;
                        BButton*                        fBrowseTeamButton;
                        BFilePanel*                     fBrowseTeamPanel;
                        BButton*                        fStartButton;
                        BButton*                        fCancelButton;
                        TargetHostInterface* fTargetHostInterface;
};

#endif // START_TEAM_WINDOW_H