2 * Copyright 2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Axel Dörfler, <axeld@pinc-software.de>
8 #ifndef IP_ADDRESS_CONTROL_H
9 #define IP_ADDRESS_CONTROL_H
12 #include <TextControl.h>
15 class IPAddressControl
: public BTextControl
{
17 IPAddressControl(int family
, const char* label
,
19 virtual ~IPAddressControl();
21 bool AllowEmpty() const;
22 void SetAllowEmpty(bool empty
);
24 virtual void AttachedToWindow();
25 virtual void MessageReceived(BMessage
* message
);
36 #endif // IP_ADDRESS_CONTROL_H