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 11class BMenuField; 12class BTextControl; 13class Setting; 14 15 16class NetworkConnectionConfigView : public ConnectionConfigView{ 17public: 18 NetworkConnectionConfigView(); 19 virtual ~NetworkConnectionConfigView(); 20 21 virtual void AttachedToWindow(); 22 virtual void MessageReceived(BMessage* message); 23 24protected: 25 virtual status_t InitSpecific(); 26 27private: 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