xref: /haiku/src/kits/debugger/target_host_interface/network/NetworkTargetHostInterfaceInfo.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /*
2  * Copyright 2016, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef NETWORK_TARGET_HOST_INTERFACE_INFO_H
6 #define NETWORK_TARGET_HOST_INTERFACE_INFO_H
7 
8 #include "TargetHostInterfaceInfo.h"
9 
10 
11 class NetworkTargetHostInterfaceInfo : public TargetHostInterfaceInfo {
12 public:
13 								NetworkTargetHostInterfaceInfo();
14 	virtual						~NetworkTargetHostInterfaceInfo();
15 
16 	virtual	status_t			Init();
17 
18 	virtual	bool				IsLocal() const;
19 	virtual	bool				IsConfigured(Settings* settings) const;
20 	virtual	SettingsDescription* GetSettingsDescription() const;
21 
22 	virtual	status_t			CreateInterface(Settings* settings,
23 									TargetHostInterface*& _interface) const;
24 
25 private:
26 			BString				fName;
27 			SettingsDescription* fDescription;
28 };
29 
30 #endif	// NETWORK_TARGET_HOST_INTERFACE_INFO_H
31