xref: /haiku/src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigView.cpp (revision 830f67ef991407f287dbc1238aa5f5906d90c991)
1 /*
2  * Copyright 2016, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #include "ConnectionConfigView.h"
6 
7 
8 ConnectionConfigView::ConnectionConfigView(const char* name)
9 	:
10 	BView(name, B_WILL_DRAW)
11 {
12 }
13 
14 
15 ConnectionConfigView::~ConnectionConfigView()
16 {
17 }
18 
19 
20 status_t
21 ConnectionConfigView::Init(TargetHostInterfaceInfo* info, Listener* listener)
22 {
23 	fInfo = info;
24 	fListener = listener;
25 
26 	return InitSpecific();
27 }
28 
29 
30 void
31 ConnectionConfigView::NotifyConfigurationChanged(Settings* settings)
32 {
33 	fListener->ConfigurationChanged(settings);
34 }
35 
36 
37 // #pragma mark - ConnectionConfigView::Listener
38 
39 
40 ConnectionConfigView::Listener::~Listener()
41 {
42 }
43