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