libdebugger: Add initial version of network interface.
[haiku.git] / src / kits / debugger / target_host_interface / network / NetworkTargetHostInterfaceInfo.h
blobe3c7a5d153522cfc0eb8c0cf0df2ffee552ae439
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
8 #include "TargetHostInterfaceInfo.h"
11 class NetworkTargetHostInterfaceInfo : public TargetHostInterfaceInfo {
12 public:
13 NetworkTargetHostInterfaceInfo();
14 virtual ~NetworkTargetHostInterfaceInfo();
16 virtual status_t Init();
18 virtual bool IsLocal() const;
19 virtual bool IsConfigured(Settings* settings) const;
20 virtual SettingsDescription* GetSettingsDescription() const;
22 virtual status_t CreateInterface(Settings* settings,
23 TargetHostInterface*& _interface) const;
25 private:
26 BString fName;
27 SettingsDescription* fDescription;
30 #endif // NETWORK_TARGET_HOST_INTERFACE_INFO_H