1 /* 2 * Copyright 2016, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef NETWORK_CONNECTION_CONFIG_VIEW_H 6 #define NETWORK_CONNECTION_CONFIG_VIEW_H 7 8 #include "ConnectionConfigView.h" 9 10 11 class BMenuField; 12 class BTextControl; 13 class Setting; 14 15 16 class NetworkConnectionConfigView : public ConnectionConfigView{ 17 public: 18 NetworkConnectionConfigView(); 19 virtual ~NetworkConnectionConfigView(); 20 21 virtual void AttachedToWindow(); 22 virtual void MessageReceived(BMessage* message); 23 24 protected: 25 virtual status_t InitSpecific(); 26 27 private: 28 BMenuField* fProtocolField; 29 BTextControl* fHostInput; 30 BTextControl* fPortInput; 31 Settings* fSettings; 32 Setting* fHostSetting; 33 Setting* fPortSetting; 34 }; 35 36 37 #endif // NETWORK_CONNECTION_CONFIG_VIEW_H 38