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