xref: /haiku/src/apps/debugger/user_interface/gui/connection_config/ConnectionConfigView.cpp (revision eede6646dd548b5fe56d9305f1d6fb2b650e26c3)
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 
ConnectionConfigView(const char * name)8 ConnectionConfigView::ConnectionConfigView(const char* name)
9 	:
10 	BView(name, B_WILL_DRAW)
11 {
12 }
13 
14 
~ConnectionConfigView()15 ConnectionConfigView::~ConnectionConfigView()
16 {
17 }
18 
19 
20 status_t
Init(TargetHostInterfaceInfo * info,Listener * listener)21 ConnectionConfigView::Init(TargetHostInterfaceInfo* info, Listener* listener)
22 {
23 	fInfo = info;
24 	fListener = listener;
25 
26 	return InitSpecific();
27 }
28 
29 
30 void
NotifyConfigurationChanged(Settings * settings)31 ConnectionConfigView::NotifyConfigurationChanged(Settings* settings)
32 {
33 	fListener->ConfigurationChanged(settings);
34 }
35 
36 
37 // #pragma mark - ConnectionConfigView::Listener
38 
39 
~Listener()40 ConnectionConfigView::Listener::~Listener()
41 {
42 }
43