2 * Copyright 2016, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
5 #ifndef CONNECTION_CONFIG_WINDOW_H
6 #define CONNECTION_CONFIG_WINDOW_H
10 #include "ConnectionConfigView.h"
18 class TargetHostInterfaceInfo
;
21 class ConnectionConfigWindow
: public BWindow
,
22 private ConnectionConfigView::Listener
25 ConnectionConfigWindow();
27 ~ConnectionConfigWindow();
29 static ConnectionConfigWindow
* Create();
33 virtual void MessageReceived(BMessage
* message
);
37 virtual bool QuitRequested();
39 // ConnectionConfigView::Listener
41 virtual void ConfigurationChanged(Settings
* settings
);
45 BMenu
* _BuildTypeMenu();
46 void _UpdateActiveConfig(
47 TargetHostInterfaceInfo
* info
);
50 BMenuField
* fConnectionTypeField
;
51 BGroupView
* fConfigGroupView
;
52 BButton
* fCloseButton
;
53 BButton
* fConnectButton
;
54 Settings
* fCurrentSettings
;
55 TargetHostInterfaceInfo
*
59 #endif // CONNECTION_CONFIG_WINDOW_H